Skip to content

Commit

Permalink
split command over line
Browse files Browse the repository at this point in the history
  • Loading branch information
SK1Y101 committed Aug 29, 2023
1 parent f5c9703 commit d34638c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion roles/common/tasks/backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@

# ansible.builtin.fetch has the ability to be oom killed on large files, so we're using scp instead
- name: Download Backup
ansible.builtin.command: scp -o StrictHostKeyChecking=no {{ ansible_user }}@{{ inventory_hostname }}:{{ maas_backup_dest_path }} {{ maas_backup_download_path }}{{ maas_backup_file }}
ansible.builtin.command: >
scp -o StrictHostKeyChecking=no \
{{ ansible_user }}@{{ inventory_hostname }}:{{ maas_backup_dest_path }} \
{{ maas_backup_download_path }}{{ maas_backup_file }}
delegate_to: localhost
become: false # don't need sudo locally
changed_when: false
Expand Down

0 comments on commit d34638c

Please sign in to comment.