meow :3
This commit is contained in:
parent
667fc21c12
commit
75cacd3182
15 changed files with 125 additions and 148 deletions
28
plays/tasks/provisioning/nfs-client.yml
Normal file
28
plays/tasks/provisioning/nfs-client.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
- name: Install nfs-common
|
||||
apt:
|
||||
pkg:
|
||||
- nfs-common
|
||||
|
||||
- name: Mount /media/tv
|
||||
ansible.posix.mount:
|
||||
src: 10.0.1.101:/export/tv
|
||||
path: /media/tv
|
||||
opts: default
|
||||
state: mounted
|
||||
fstype: nfs
|
||||
|
||||
- name: Mount /media/film
|
||||
ansible.posix.mount:
|
||||
src: 10.0.1.101:/export/film
|
||||
path: /media/film
|
||||
opts: default
|
||||
state: mounted
|
||||
fstype: nfs
|
||||
|
||||
- name: Mount /media/misc
|
||||
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