playbooks/clone-repo: make auto ssh add file executable
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
2438809884
commit
fcceaca96e
|
|
@ -27,6 +27,7 @@
|
|||
register: prepareAutoSshAdd
|
||||
ansible.builtin.shell: |
|
||||
echo -e '#!/bin/bash\necho $SSH_PASS' > {{ ssh_auto_sshadd_file }}
|
||||
chmod +x {{ ssh_auto_sshadd_file }}
|
||||
when: not auto_sshadd_stat.stat.exists
|
||||
|
||||
- name: Load SSH key
|
||||
|
|
|
|||
Loading…
Reference in New Issue