wireguard only if primary ip is public
This commit is contained in:
1 parent
7934dbf3dd
commit
e540a39aec
1 file changed
+1
@@ -16,6 +16,7 @@
|
|||||||
when:
|
when:
|
||||||
- wireguard is defined
|
- wireguard is defined
|
||||||
- wireguard == true
|
- wireguard == true
|
||||||
|
- ansible_default_ipv4.address | ipaddr('public')
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
- include_tasks: system_setup/cron.yml
|
- include_tasks: system_setup/cron.yml
|
||||||
- include_role:
|
- include_role:
|
||||||
|
|||||||
Reference in new issue
Block a user