See if we can fold these cases together
This commit is contained in:
parent
842017f7ce
commit
cde692749f
1 changed files with 1 additions and 13 deletions
|
@ -15,23 +15,11 @@
|
||||||
tags:
|
tags:
|
||||||
- nfs/server
|
- nfs/server
|
||||||
|
|
||||||
- name: enable nfs-related services and run them (fedora)
|
- name: enable nfs-related services and run them
|
||||||
action: service name={{ item }} enabled=true state=started
|
action: service name={{ item }} enabled=true state=started
|
||||||
with_items:
|
with_items:
|
||||||
- nfs-idmap
|
- nfs-idmap
|
||||||
- rpc-statd
|
- rpc-statd
|
||||||
when: ansible_distribution == 'Fedora'
|
|
||||||
tags:
|
|
||||||
- nfs/server
|
|
||||||
|
|
||||||
- name: enable nfs-related services and run them (rhel)
|
|
||||||
action: service name={{ item }} enabled=true state=started
|
|
||||||
with_items:
|
|
||||||
- rpcidmapd
|
|
||||||
- rpcbind
|
|
||||||
- nfs
|
|
||||||
- nfslock
|
|
||||||
when: ansible_distribution == 'RedHat'
|
|
||||||
tags:
|
tags:
|
||||||
- nfs/server
|
- nfs/server
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue