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
|
wg genkey | tee {{ wireguard_remote_directory }}/{{ item.host }}-privatekey
|
||||||
exit 0
|
exit 0
|
||||||
args:
|
args:
|
||||||
|
executable: /bin/bash
|
||||||
creates: "{{ wireguard_remote_directory }}/{{ item.host }}-privatekey"
|
creates: "{{ wireguard_remote_directory }}/{{ item.host }}-privatekey"
|
||||||
register: uh_private_key
|
register: uh_private_key
|
||||||
with_items: "{{ wireguard_unmanaged_hosts | default([]) }}"
|
with_items: "{{ wireguard_unmanaged_hosts | default([]) }}"
|
||||||
|
|
Reference in a new issue