diff --git a/inventory/group_vars/mirrorlist2-stg b/inventory/group_vars/mirrorlist2-stg new file mode 100644 index 0000000000..0884e9ed94 --- /dev/null +++ b/inventory/group_vars/mirrorlist2-stg @@ -0,0 +1,17 @@ +--- +lvm_size: 20000 +mem_size: 8192 +num_cpus: 4 +# for systems that do not match the above - specify the same parameter in +# the host_vars/$hostname file + +custom_rules: [ '-A INPUT -p tcp -m tcp -s 192.168.0.0/16 --dport 80 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 10.5.126.0/24 --dport 80 -j ACCEPT' ] +collectd_apache: true +fas_client_groups: sysadmin-noc,fi-apprentice +nrpe_procs_warn: 500 +nrpe_procs_crit: 600 +# By default run 45 wsgi procs +mirrorlist_procs: 45 + +# Set this to get the vpn postfix setup +postfix_group: vpn diff --git a/inventory/inventory b/inventory/inventory index 024dcc42b2..24e562c0d9 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -348,8 +348,10 @@ mirrorlist-dedicatedsolutions.fedoraproject.org mirrorlist-host1plus.fedoraproject.org mirrorlist-phx2.phx2.fedoraproject.org -[mm-stg] +[mirrorlist2-stg] mirrorlist-phx2.stg.phx2.fedoraproject.org + +[mm-stg] mm-frontend01.stg.phx2.fedoraproject.org mm-backend01.stg.phx2.fedoraproject.org mm-crawler01.stg.phx2.fedoraproject.org diff --git a/playbooks/groups/mirrorlist2.yml b/playbooks/groups/mirrorlist2.yml index 44dde57b1c..8d2e5ad71f 100644 --- a/playbooks/groups/mirrorlist2.yml +++ b/playbooks/groups/mirrorlist2.yml @@ -4,7 +4,7 @@ # NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars - name: make mirrorlist app server - hosts: mirrorlist2 + hosts: mirrorlist2:mirrorlist2-stg user: root gather_facts: False @@ -20,7 +20,7 @@ - include: "{{ handlers }}/restart_services.yml" - name: make the box be real - hosts: mirrorlist2 + hosts: mirrorlist2:mirrorlist2-stg user: root gather_facts: True