diff options
Diffstat (limited to 'module/ri-wireguard/src/main/resources/templates/wireguard/inventory.j2')
-rw-r--r-- | module/ri-wireguard/src/main/resources/templates/wireguard/inventory.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/module/ri-wireguard/src/main/resources/templates/wireguard/inventory.j2 b/module/ri-wireguard/src/main/resources/templates/wireguard/inventory.j2 new file mode 100644 index 0000000..0924bb2 --- /dev/null +++ b/module/ri-wireguard/src/main/resources/templates/wireguard/inventory.j2 @@ -0,0 +1,7 @@ +# Generated +all: + hosts: + {%- for host in hosts %} + {{ host.getName() }}: + ansible_host: {{ host.getFqdn() }} + {%- endfor %} |