mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-12-05 00:50:18 +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
|
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
|
||||||
|
|
Loading…
Reference in a new issue