28 lines
711 B
YAML
28 lines
711 B
YAML
|
- name: Copy docker-compose contents
|
||
|
ansible.builtin.copy:
|
||
|
src: files/basedir/
|
||
|
dest: /home/{{ ansible_user }}/docker_compose/{{ matrix_service }}
|
||
|
owner: "{{ ansible_user }}"
|
||
|
mode: '0644'
|
||
|
tags:
|
||
|
- files
|
||
|
- name: Create nginx dir
|
||
|
ansible.builtin.file:
|
||
|
path: /home/{{ ansible_user }}/docker_compose/{{ matrix_service }}/nginx
|
||
|
state: directory
|
||
|
owner: "{{ ansible_user }}"
|
||
|
mode: '0755'
|
||
|
tags:
|
||
|
- nginx
|
||
|
- dir
|
||
|
|
||
|
- name: Create nginx config
|
||
|
ansible.builtin.template:
|
||
|
src: "nginx/synapse.conf"
|
||
|
dest: /home/{{ ansible_user }}/docker_compose/{{ matrix_service }}/nginx/synapse.conf
|
||
|
owner: "{{ ansible_user }}"
|
||
|
mode: '0644'
|
||
|
tags:
|
||
|
- nginx
|
||
|
- synapse
|