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