Use bash_exec fact for more.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
- name: SSH Key | Root | Create
|
||||
shell: ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa <<< n
|
||||
args:
|
||||
executable: /bin/bash
|
||||
executable: "{{ bash_exec.stdout }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: SSH Key | Root | Copy to 1337
|
||||
|
Reference in New Issue
Block a user