Fixes #6: Role sometimes hangs on CentOS install if rpcbind not running.

This commit is contained in:
Jeff Geerling 2015-03-24 16:58:08 -05:00
parent fa94acec71
commit 1bfc44f101

View file

@ -20,9 +20,9 @@
notify: restart nfs notify: restart nfs
# Configuration tasks. # Configuration tasks.
- name: Ensure rpcbind and nfs are running. - name: Ensure rpcbind is running.
service: "name={{ item }} state=started enabled=yes" service: name=rpcbind state=started enabled=yes
with_items:
- rpcbind - name: Ensure nfs is running.
- "{{ nfs_server_daemon }}" service: "name={{ nfs_server_daemon }} state=started enabled=yes"
when: nfs_exports|length when: nfs_exports|length