wireguard only if primary ip is public

This commit is contained in:
rene committed 2022-03-15 20:44:09 +01:00
1 parent a94ddcac19
commit c106a6138b
1 file changed
+2
+2
View File
@@ -16,6 +16,8 @@
when: when:
- wireguard is defined - wireguard is defined
- wireguard == true - wireguard == true
- ansible_default_ipv4.address | ipaddr('public')
ignore_errors: True
- include_tasks: system_setup/cron.yml - include_tasks: system_setup/cron.yml
- include_role: - include_role:
name: base name: base