Skip to content

Commit

Permalink
refactor: use to_nice_yaml and default_style
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrennand committed Jun 2, 2024
1 parent 0e20a3e commit 48ca916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

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

Expand Down

0 comments on commit 48ca916

Please sign in to comment.