ansible-role-flame/tasks/config.yml

24 lines
563 B
YAML
Raw Normal View History

2023-01-12 13:49:11 +01:00
---
- 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:
2023-01-12 13:55:59 +01:00
- flame_configure