shell pipe: add executable /bin/bash
This commit is contained in:
parent
1c6ef34863
commit
fd428f528c
|
@ -115,6 +115,7 @@
|
|||
wg genkey | tee {{ wireguard_remote_directory }}/{{ item.host }}-privatekey
|
||||
exit 0
|
||||
args:
|
||||
executable: /bin/bash
|
||||
creates: "{{ wireguard_remote_directory }}/{{ item.host }}-privatekey"
|
||||
register: uh_private_key
|
||||
with_items: "{{ wireguard_unmanaged_hosts | default([]) }}"
|
||||
|
|
Reference in a new issue