Reorganise
This commit is contained in:
parent
4be4c0a719
commit
2722973e49
19 changed files with 161 additions and 255 deletions
32
roles/nfs-client/tasks/main.yml
Normal file
32
roles/nfs-client/tasks/main.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
- name: Install nfs-common
|
||||
become: true
|
||||
apt:
|
||||
pkg:
|
||||
- nfs-common
|
||||
|
||||
- name: Mount /media/tv
|
||||
become: true
|
||||
ansible.posix.mount:
|
||||
src: 10.0.1.101:/export/tv
|
||||
path: /media/tv
|
||||
opts: default
|
||||
state: mounted
|
||||
fstype: nfs
|
||||
|
||||
- name: Mount /media/film
|
||||
become: true
|
||||
ansible.posix.mount:
|
||||
src: 10.0.1.101:/export/film
|
||||
path: /media/film
|
||||
opts: default
|
||||
state: mounted
|
||||
fstype: nfs
|
||||
|
||||
- name: Mount /media/misc
|
||||
become: true
|
||||
ansible.posix.mount:
|
||||
src: 10.0.1.101:/export/misc
|
||||
path: /media/misc
|
||||
opts: default
|
||||
state: mounted
|
||||
fstype: nfs
|
Loading…
Add table
Add a link
Reference in a new issue