ansible-role-flame/tasks/config.yml
2023-01-12 13:49:11 +01:00

23 lines
562 B
YAML

---
- name: "FLAME | Set up directories"
ansible.builtin.file:
state: directory
path: "{{ item }}"
owner: "{{ ansible_effective_user_id }}"
group: "{{ ansible_effective_group_id }}"
mode: "0750"
with_items:
- "{{ flame_skeleton_paths }}"
tags:
- flame_configure
become: true
- name: "FLAME | Write configuration files"
ansible.builtin.template:
src: "{{ item }}.j2"
dest: "{{ flame_config_path | expanduser | realpath }}/{{ item }}"
mode: '0640'
loop:
- "docker-compose.yml"
tags:
- flame_configure