Skip to content

Commit

Permalink
disable host checking in scp
Browse files Browse the repository at this point in the history
  • Loading branch information
SK1Y101 committed Aug 29, 2023
1 parent a692b51 commit f5c9703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/common/tasks/backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

# 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 {{ 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 }}

Check failure on line 59 in roles/common/tasks/backup.yaml

View workflow job for this annotation

GitHub Actions / build

yaml[line-length]

Line too long (184 > 160 characters)
delegate_to: localhost
become: false # don't need sudo locally
changed_when: false
Expand Down

0 comments on commit f5c9703

Please sign in to comment.