mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-14 22:36:09 +08:00
See if we can fold these cases together
This commit is contained in:
@@ -15,23 +15,11 @@
|
||||
tags:
|
||||
- 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
|
||||
with_items:
|
||||
- nfs-idmap
|
||||
- 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:
|
||||
- nfs/server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user