mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-11-09 21:33:30 +01:00
Fixes #6: Role sometimes hangs on CentOS install if rpcbind not running.
This commit is contained in:
parent
fa94acec71
commit
1bfc44f101
1 changed files with 5 additions and 5 deletions
|
@ -20,9 +20,9 @@
|
|||
notify: restart nfs
|
||||
|
||||
# Configuration tasks.
|
||||
- name: Ensure rpcbind and nfs are running.
|
||||
service: "name={{ item }} state=started enabled=yes"
|
||||
with_items:
|
||||
- rpcbind
|
||||
- "{{ nfs_server_daemon }}"
|
||||
- name: Ensure rpcbind is running.
|
||||
service: name=rpcbind state=started enabled=yes
|
||||
|
||||
- name: Ensure nfs is running.
|
||||
service: "name={{ nfs_server_daemon }} state=started enabled=yes"
|
||||
when: nfs_exports|length
|
||||
|
|
Loading…
Reference in a new issue