This only works with f20 (nfs-lock isnt in f21+)
This commit is contained in:
parent
60c49f21a2
commit
f3cc25bb8c
1 changed files with 2 additions and 2 deletions
|
@ -25,12 +25,12 @@
|
||||||
- nfs-utils
|
- nfs-utils
|
||||||
- rpcbind
|
- rpcbind
|
||||||
|
|
||||||
- name: enable nfs-related services and run them (fedora20 and newer)
|
- name: enable nfs-related services and run them (fedora20 only)
|
||||||
service: name={{ item }} enabled=true state=started
|
service: name={{ item }} enabled=true state=started
|
||||||
with_items:
|
with_items:
|
||||||
- rpcbind
|
- rpcbind
|
||||||
- nfs-lock
|
- nfs-lock
|
||||||
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version > '19'
|
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version == '20'
|
||||||
|
|
||||||
- name: enable nfs-related services and run them (rhel7)
|
- name: enable nfs-related services and run them (rhel7)
|
||||||
service: name={{ item }} enabled=true state=started
|
service: name={{ item }} enabled=true state=started
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue