ansible-role-mealie/tasks/config.yml

24 lines
570 B
YAML
Raw Permalink Normal View History

2023-01-09 15:42:53 +01:00
---
- name: "MEALIE | Set up directories"
ansible.builtin.file:
state: directory
path: "{{ item }}"
owner: "{{ ansible_effective_user_id }}"
group: "{{ ansible_effective_group_id }}"
mode: "0750"
with_items:
2023-01-09 16:40:13 +01:00
- "{{ mealie_skeleton_paths }}"
2023-01-09 15:42:53 +01:00
tags:
- mealie_configure
become: true
- name: "MEALIE | Write configuration files"
ansible.builtin.template:
2023-01-09 16:40:13 +01:00
src: "{{ item }}.j2"
dest: "{{ mealie_config_path | expanduser | realpath }}/{{ item }}"
2023-01-09 15:42:53 +01:00
mode: '0640'
loop:
- "docker-compose.yml"
tags:
2023-01-12 11:41:47 +01:00
- mealie_configure