diff --git a/inventory/group_vars/secondary b/inventory/group_vars/secondary index f1003971db..b64c34b01e 100644 --- a/inventory/group_vars/secondary +++ b/inventory/group_vars/secondary @@ -9,5 +9,3 @@ nrpe_procs_crit: 1000 nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid,actimeo=600" fas_client_groups: sysadmin-noc,alt-sugar,alt-k12linux,altvideos,hosted-content,mips-content,s390_content,fi-apprentice,qa-deltaisos - -base_pkgs_inst: [ 'ntp', 'createrepo' ] diff --git a/inventory/host_vars/bastion-comm01.qa.fedoraproject.org b/inventory/host_vars/bastion-comm01.qa.fedoraproject.org index 3d8f2c30da..d58fa29cdd 100644 --- a/inventory/host_vars/bastion-comm01.qa.fedoraproject.org +++ b/inventory/host_vars/bastion-comm01.qa.fedoraproject.org @@ -1,2 +1,13 @@ --- freezes: false +nm: 255.255.255.0 +gw: 10.5.124.254 +dns: 10.5.126.21 + +volgroup: /dev/VirtGuests + +eth0_ip: 10.5.124.132 + +vmhost: virthost-comm03.phx2.fedoraproject.org +datacenter: phx2 + diff --git a/playbooks/groups/bastion.yml b/playbooks/groups/bastion.yml index d2aa164f09..7ee16e29c3 100644 --- a/playbooks/groups/bastion.yml +++ b/playbooks/groups/bastion.yml @@ -1,5 +1,5 @@ - name: make the servers - hosts: bastion:!bastion-comm01.qa.fedoraproject.org + hosts: bastion user: root gather_facts: False @@ -15,7 +15,7 @@ - include: "{{ handlers }}/restart_services.yml" - name: make the boxen be real for real - hosts: bastion:!bastion-comm01.qa.fedoraproject.org + hosts: bastion user: root gather_facts: True @@ -27,14 +27,15 @@ roles: - base - rkhunter - - { role: denyhosts, when: ansible_distribution_major_version != '7' } - nagios_client - hosts - fas_client - sudo - collectd/base - openvpn/server + when: not inventory_hostname.startswith('bastion-comm01') - packager_alias + when: not inventory_hostname.startswith('bastion-comm01') tasks: - include: "{{ tasks }}/yumrepos.yml"