Compare commits

..

1 Commits

Author SHA1 Message Date
09d5241481 build
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
2025-10-29 10:21:34 +01:00

View File

@@ -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