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
|
||||
ansible.posix.mount:
|
||||
src: 10.165.71.1:/mtx_syna_lat_internal_ru
|
||||
path: /mnt
|
||||
src: "{{ item.src }}"
|
||||
path: "{{ item.path }}"
|
||||
state: mounted
|
||||
fstype: nfs
|
||||
when: nfs.enabled == true
|
||||
loop: "{{ nfs.mounts }}"
|
||||
- name: Create docker-compose project directories
|
||||
ansible.builtin.file:
|
||||
path: /mnt/synapse_data
|
||||
|
|
Loading…
Reference in a new issue