Feat: ???
This commit is contained in:
parent
9a2baf807b
commit
0b02860899
10
Choux.yml
10
Choux.yml
|
@ -36,7 +36,15 @@
|
|||
service:
|
||||
name: sshd
|
||||
state: restarted
|
||||
- name: restart nfs
|
||||
- name: restart nfs-server
|
||||
service:
|
||||
name: nfs-server
|
||||
state: restarted
|
||||
- name: restart nfs-client
|
||||
service:
|
||||
name: nfs-client
|
||||
state: restarted
|
||||
- name: restart autofs
|
||||
service:
|
||||
name: autofs
|
||||
state: restarted
|
||||
|
|
|
@ -4,19 +4,19 @@
|
|||
name: autofs
|
||||
state: present
|
||||
|
||||
- name: install nfs
|
||||
apt:
|
||||
pkg: nfs-kernel-server
|
||||
state: present
|
||||
when: ansible_distribution == 'Debian'
|
||||
notify: restart nfs
|
||||
#- name: install nfs
|
||||
# apt:
|
||||
# pkg: nfs-kernel-server
|
||||
# state: present
|
||||
# when: ansible_distribution == 'Debian'
|
||||
# notify: restart nfs-server
|
||||
|
||||
- name: install nfs
|
||||
pacman:
|
||||
pkg: nfs-utils
|
||||
state: present
|
||||
when: ansible_distribution != 'Debian'
|
||||
notify: restart nfs
|
||||
notify: restart nfs-client
|
||||
|
||||
- name: Create NAS share directory
|
||||
file:
|
||||
|
|
Loading…
Reference in New Issue