-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
In borg-client.yml, running the playbook in check mode is not possible since sshkey is undefined in the following task
- name: client | put sshpubkey on the normal backupserver
authorized_key:
user: "{{ item.user }}"
-> key: "{{ sshkey.stdout }}"
I would suggest to add a check_mode: no when fetching the ssh-key in order to validate the usage of sshkey.stdout
- name: client | fetch ssh-key
command: "cat {{ borgbackup_ssh_key }}.pub"
register: sshkey
changed_when: false
-> check_mode: no
tags:
- skip_ansible_lint
Note : As I am not a old ansible coder feel free to indicate why this is not already the case
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels