matrix-docker-compose/ansible/roles/synapse-base/tasks/main.yml

23 lines
566 B
YAML
Raw Normal View History

2023-09-27 10:19:46 +00:00
- 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