diff --git a/inventory/group_vars/pagure-stg b/inventory/group_vars/pagure-stg new file mode 100644 index 0000000000..2318409d20 --- /dev/null +++ b/inventory/group_vars/pagure-stg @@ -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 diff --git a/inventory/inventory b/inventory/inventory index 1c890b95a8..569d10ce01 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -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 diff --git a/playbooks/groups/pagure.yml b/playbooks/groups/pagure.yml index 1377001dac..8cadbe163a 100644 --- a/playbooks/groups/pagure.yml +++ b/playbooks/groups/pagure.yml @@ -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