mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-30 18:01:11 +01:00 
			
		
		
		
	This commit is contained in:
		| @@ -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