nfs: also refactor code, not only inventory
This commit is contained in:
		
					parent
					
						
							
								9ef07c8aa4
							
						
					
				
			
			
				commit
				
					
						047ff4793e
					
				
			
		
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -1,10 +1,10 @@ | ||||||
| - name: Mount data NFS volume | - name: Mount data NFS volume | ||||||
|   ansible.posix.mount: |   ansible.posix.mount: | ||||||
|     src: 10.165.71.1:/mtx_syna_lat_internal_ru |     src: "{{ item.src }}" | ||||||
|     path: /mnt |     path: "{{ item.path }}" | ||||||
|     state: mounted |     state: mounted | ||||||
|     fstype: nfs |     fstype: nfs | ||||||
|   when: nfs.enabled == true |   loop: "{{ nfs.mounts }}" | ||||||
| - name: Create docker-compose project directories | - name: Create docker-compose project directories | ||||||
|   ansible.builtin.file: |   ansible.builtin.file: | ||||||
|     path: /mnt/synapse_data |     path: /mnt/synapse_data | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue