Take configuration as python/yaml object instead of file content

This commit is contained in:
Philip (a-0) 2022-09-07 14:27:23 +02:00
parent 318029b9a9
commit 6fc3c95d7f
4 changed files with 16 additions and 4 deletions

View file

@ -93,7 +93,7 @@
- name: Set config file
copy:
content: "{{ matrixmailer_config }}"
content: "{{ matrixmailer_config | to_nice_yaml }}"
dest: "{{ matrixmailer_config_dir }}/config.yaml"
owner: "{{ matrixmailer_system_user }}"
group: "{{ matrixmailer_system_group }}"