Skip to content

Commit 48ca916

Browse files
committed
refactor: use to_nice_yaml and default_style
1 parent 0e20a3e commit 48ca916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
- name: Create autorestic configuration file
4949
ansible.builtin.copy:
50-
content: "{{ autorestic_config | to_yaml }}"
50+
content: "{{ autorestic_config | to_nice_yaml(default_style='\"') }}"
5151
dest: "{{ autorestic_config_file }}"
5252
mode: "0600"
5353

0 commit comments

Comments
 (0)