23 lines
566 B
YAML
23 lines
566 B
YAML
|
- name: Mount data NFS volume
|
||
|
ansible.posix.mount:
|
||
|
src: 10.165.71.1:/mtx_syna_lat_internal_ru
|
||
|
path: /mnt
|
||
|
state: mounted
|
||
|
fstype: nfs
|
||
|
- name: Create docker-compose project directories
|
||
|
ansible.builtin.file:
|
||
|
path: /mnt/synapse_data
|
||
|
state: directory
|
||
|
mode: '0700'
|
||
|
owner: "{{ ansible_user }}"
|
||
|
tags:
|
||
|
- directory
|
||
|
# - name: Create homeserver.yaml file
|
||
|
# ansible.builtin.copy:
|
||
|
# src: files/homeserver.yaml
|
||
|
# dest: /mnt/synapse_data/homeserver.yaml
|
||
|
# owner: "{{ ansible_user }}"
|
||
|
# mode: '0600'
|
||
|
# tags:
|
||
|
# - files
|