mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-10-29 17:40:08 +01:00
Compare commits
1 Commits
d49c209199
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 09d5241481 |
@@ -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