ansible-role-firefly/tasks/config.yml
Laur Ivan 5ee23c3a7e feature: initial commit
Install Firefly III without importer.
2023-04-30 12:44:46 +02:00

24 lines
595 B
YAML

---
- name: "FIREFLY | Set up directories"
ansible.builtin.file:
state: directory
path: "{{ item }}"
owner: "{{ ansible_effective_user_id }}"
group: "{{ ansible_effective_group_id }}"
mode: "0750"
with_items:
- "{{ firefly_skeleton_paths }}"
tags:
- firefly_configure
become: true
- name: "FIREFLY | Write configuration files"
ansible.builtin.template:
src: "{{ item }}.j2"
dest: "{{ firefly_config_path | expanduser | realpath }}/{{ item }}"
mode: '0640'
with_items:
- "{{ firefly_configuration_files }}"
tags:
- firefly_configure