Fix datacenter for bodhi02.stg revert playbook change

This commit is contained in:
Kevin Fenzi 2015-07-22 16:56:15 +00:00
parent 0aba861fb1
commit 1943ecf491
2 changed files with 1 additions and 3 deletions

View file

@ -7,7 +7,6 @@ ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/
volgroup: /dev/vg_guests
eth0_ip: 10.5.126.169
vmhost: virthost10.phx2.fedoraproject.org
datacenter: phx2
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:

View file

@ -24,7 +24,6 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- base
- rkhunter
@ -40,7 +39,7 @@
- apache
- { role: bodhi2/base, when: "inventory_hostname.startswith('bodhi0')" }
- { role: fedmsg/base, when: "inventory_hostname.startswith('bodhi0')" }
- { role: nfs/client, when: "inventory_hostname.startswith('bodhi02.stg')", mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
- { role: nfs/client, when: datacenter == 'staging', mnt_dir: '/mnt/fedora_koji', nfs_src_dir: 'fedora_koji' }
tasks:
- include: "{{ tasks }}/yumrepos.yml"