Fix: install nfs for debian and archlinux
This commit is contained in:
parent
5b94ef1ec4
commit
68b101b7e5
@ -3,6 +3,14 @@
|
|||||||
apt:
|
apt:
|
||||||
pkg: nfs-kernel-server
|
pkg: nfs-kernel-server
|
||||||
state: present
|
state: present
|
||||||
|
when: ansible_distribution == 'Debian'
|
||||||
|
notify: restart nfs
|
||||||
|
|
||||||
|
- name: install nfs
|
||||||
|
pacman:
|
||||||
|
pkg: nfs-utils
|
||||||
|
state: present
|
||||||
|
when: ansible_distribution != 'Debian'
|
||||||
notify: restart nfs
|
notify: restart nfs
|
||||||
|
|
||||||
- name: Lines in exports
|
- name: Lines in exports
|
||||||
|
Loading…
Reference in New Issue
Block a user