Fix: install nfs for debian and archlinux

This commit is contained in:
Bertrand Benjamin 2019-04-18 19:11:33 +02:00
parent 5b94ef1ec4
commit 68b101b7e5
1 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,14 @@
apt:
pkg: nfs-kernel-server
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
- name: Lines in exports