datacoop.ansible/roles/docker/tasks/pre_deploy/writefreely.yml

21 lines
491 B
YAML
Raw Normal View History

2023-12-07 19:39:04 +00:00
# vim: ft=yaml.ansible
---
- name: Create subfolder for MariaDB data
file:
name: "{{ services.writefreely.volume_folder }}/db"
owner: "999"
group: "999"
state: directory
- name: Create subfolder for encryption keys
file:
name: "{{ services.writefreely.volume_folder }}/keys"
owner: "2"
group: "2"
2023-12-07 19:39:04 +00:00
state: directory
- name: Upload config.ini
template:
src: "writefreely/config.ini.j2"
dest: "{{ services.writefreely.volume_folder }}/config.ini"