3
0
Fork 0

shell: with bash

This commit is contained in:
juju4 2020-04-04 15:35:01 -04:00
parent d1942b7ffd
commit 1c6ef34863
1 changed files with 1 additions and 0 deletions

View File

@ -135,6 +135,7 @@
shell: "cat {{ wireguard_remote_directory }}/{{ item.host }}-privatekey | wg pubkey | tee {{ wireguard_remote_directory }}/{{ item.host }}-pubkey"
args:
creates: "{{ wireguard_remote_directory }}/{{ item.host }}-pubkey"
executable: "/bin/bash"
register: uh_public_key
with_items: "{{ wireguard_unmanaged_hosts | default([]) }}"