Bugfix: private keys registered correctly now
This commit is contained in:
parent
418f615f55
commit
688c1d0fa5
@ -53,7 +53,6 @@
|
|||||||
|
|
||||||
- name: generate private keys for clients
|
- name: generate private keys for clients
|
||||||
shell: umask 077; wg genkey | tee ~/wg/{{ item }}/wg0.private
|
shell: umask 077; wg genkey | tee ~/wg/{{ item }}/wg0.private
|
||||||
| wg pubkey > ~/wg/{{ item }}/wg0.public
|
|
||||||
register: vpn_client_private_keys
|
register: vpn_client_private_keys
|
||||||
with_items: "{{ vpn_client_names }}"
|
with_items: "{{ vpn_client_names }}"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user