Create the pagure-stg group and move pagure-stg01 to it

This commit is contained in:
Pierre-Yves Chibon 2015-04-02 19:41:42 +02:00
parent 2d45402570
commit 439b18d9af
3 changed files with 44 additions and 5 deletions

View file

@ -0,0 +1,39 @@
---
# Define resources for this group of hosts here.
lvm_size: 20000
mem_size: 2048
num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 22, 80, 443, 9418,
# These 16 ports are used by fedmsg. One for each wsgi thread.
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007,
3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015 ]
fas_client_groups: sysadmin-noc,sysadmin-web
freezes: false
# Configuration for the git-daemon/server
git_group: git
git_port: 9418
git_server: /usr/libexec/git-core/git-daemon
git_server_args: --export-all --syslog --inetd --verbose
git_basepath: /srv/git/repositories
# For the MOTD
csi_security_category: Low
csi_primary_contact: Fedora admins - admin@fedoraproject.org
csi_purpose: Run the pagure instances for fedora
csi_relationship: |
There are a few things running here:
- The apache/mod_wsgi app for pagure
- This host relies on:
- A postgres db server running locally
- Things that rely on this host:
- nothing currently

View file

@ -193,7 +193,7 @@ composer.stg.phx2.fedoraproject.org
[sign-bridge]
sign-bridge01.phx2.fedoraproject.org
#
# sign vault servers don't listen to ssh by default.
# sign vault servers don't listen to ssh by default.
#
#[sign-vault]
#sign-vault03.phx2.fedoraproject.org
@ -448,7 +448,7 @@ smtp-mm-tummy01.fedoraproject.org
[spare]
junk01.phx2.fedoraproject.org
#
# All staging hosts should be in this group too.
# All staging hosts should be in this group too.
#
[staging]
app01.stg.phx2.fedoraproject.org
@ -849,5 +849,5 @@ copr-front-stg
copr-back-stg
copr-keygen-stg
[pagure]
[pagure-stg]
pagure-stg01.fedoraproject.org

View file

@ -1,5 +1,5 @@
- name: make the servers
hosts: pagure
hosts: pagure-stg
user: root
gather_facts: False
@ -15,7 +15,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: make the boxen be real for real
hosts: pagure
hosts: pagure-stg
user: root
gather_facts: True