nfs: also refactor code, not only inventory

This commit is contained in:
Nico Schottelius 2024-02-19 12:27:08 +09:00
parent 9ef07c8aa4
commit 047ff4793e

View file

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