Only have nfs mount on backend.

This commit is contained in:
Kevin Fenzi 2014-12-08 19:58:31 +00:00
parent df30b9fa9d
commit c19f48a5e3

View file

@ -33,7 +33,7 @@
- sudo
- collectd/base
- { role: openvpn/client, when: env != "staging" }
- { role: nfs/client, when: datacenter == "phx2", mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
- { role: nfs/client, when: inventory_hostname.startswith('mm-backend01'), mnt_dir: '/srv/pub', nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
tasks:
- include: "{{ tasks }}/yumrepos.yml"