mirror of
https://github.com/nikdoof/ansible-borgmatic.git
synced 2025-12-13 10:52:19 +00:00
Fix checkmode
This commit is contained in:
@@ -2,6 +2,8 @@
|
|||||||
- name: Get borg target host SSH host key
|
- name: Get borg target host SSH host key
|
||||||
ansible.builtin.command: "ssh-keyscan -H {{ item.split('@')[1].split(':')[0] }}"
|
ansible.builtin.command: "ssh-keyscan -H {{ item.split('@')[1].split(':')[0] }}"
|
||||||
loop: "{{ borgmatic_config['location']['repositories'] }}"
|
loop: "{{ borgmatic_config['location']['repositories'] }}"
|
||||||
|
check_mode: false
|
||||||
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
- "'location' in borgmatic_config"
|
- "'location' in borgmatic_config"
|
||||||
- "'repositories' in borgmatic_config['location']"
|
- "'repositories' in borgmatic_config['location']"
|
||||||
|
|||||||
Reference in New Issue
Block a user