mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 05:07:06 +01:00
build
This commit is contained in:
1 parent
d49c209199
commit
09d5241481
1 file changed
+12
-2
@@ -35,7 +35,18 @@
|
||||
opts: bind
|
||||
state: mounted
|
||||
fstype: none
|
||||
|
||||
- name: Reconfigure nfs fstab
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/fstab
|
||||
regexp: "^/media/m-server/downloads .*"
|
||||
line: "/media/m-server/downloads /srv/nfs/downloads none bind 0 0"
|
||||
when: inventory_hostname == 'm-server.home.lan'
|
||||
- name: Reconfigure nfs exports
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/fstab
|
||||
regexp: "^/share/docker_data .*"
|
||||
line: "/share/docker_data /srv/nfs/docker_data none bind 0 0"
|
||||
when: inventory_hostname == 'm-server.home.lan'
|
||||
|
||||
- name: Reconfigure nfs exports
|
||||
ansible.builtin.lineinfile:
|
||||
@@ -43,7 +54,6 @@
|
||||
regexp: "^/srv/nfs .*"
|
||||
line: "/srv/nfs 192.168.77.0/24(rw,sync,no_subtree_check,crossmnt,fsid=0)"
|
||||
|
||||
|
||||
- name: Reconfigure nfs exports
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/exports
|
||||
|
||||
Reference in new issue
Block a user