2023-04-14 14:01:17 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Create swag-config directory
|
|
|
|
file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
owner: "{{ puid }}"
|
|
|
|
group: "{{ pgid }}"
|
|
|
|
state: directory
|
|
|
|
loop:
|
|
|
|
- "{{ swag_config }}"
|
|
|
|
|
|
|
|
- name: Copy site-confs
|
|
|
|
template:
|
|
|
|
owner: "{{ puid }}"
|
|
|
|
group: "{{ pgid }}"
|
|
|
|
src: "{{ item }}"
|
|
|
|
dest: "{{ swag_remote_site_confs }}"
|
2023-05-11 15:09:52 +02:00
|
|
|
mode: '664'
|
2023-04-14 14:01:17 +02:00
|
|
|
loop: "{{ swag_site_confs }}"
|
|
|
|
become: true
|