diff options
Diffstat (limited to 'tnet/wg-keys.yml')
-rw-r--r-- | tnet/wg-keys.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tnet/wg-keys.yml b/tnet/wg-keys.yml new file mode 100644 index 0000000..1980b97 --- /dev/null +++ b/tnet/wg-keys.yml @@ -0,0 +1,12 @@ +- name: Generate Wireguard keys + hosts: tnet + connection: local + gather_facts: False + tasks: +# - debug: +# msg: | +# ansible_host={{ ansible_host }} +# inventory_hostname={{ inventory_hostname }} + - name: Create Wireguard keys + loop: "{{ tnet_wg|default([])|dict2items }}" + include_tasks: wg-keys-genkey.yml |