also only do these mounts in phx2

This commit is contained in:
Kevin Fenzi 2017-12-01 03:36:26 +00:00
parent 3d6fe7241a
commit 25c384d744

View file

@ -30,8 +30,8 @@
- openvpn/client
- batcave
- { role: nfs/client, mnt_dir: '/srv/web/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
- { role: nfs/client, mnt_dir: '/mnt/fedora/app', nfs_src_dir: 'fedora_app/app' }
- { role: nfs/client, when: inventory_hostname.startswith('batcave01'), mnt_dir: '/srv/web/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
- { role: nfs/client, when: inventory_hostname.startswith('batcave01'), mnt_dir: '/mnt/fedora/app', nfs_src_dir: 'fedora_app/app' }
tasks:
- import_tasks: "{{ tasks_path }}/yumrepos.yml"