๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
423 B

2 years ago
strongswan_default_config:
attr:
load: yes
dns: "{%- if strongswan_dns_ip is defined -%}\
{{ strongswan_dns_ip }}\
{%- elif strongswan_dns_hostname is defined -%}\
{{ hostvars[strongswan_dns_hostname]['ansible_host'] }}\
{%- elif services.filtering_ns is defined -%}\
{{ hostvars[services.filtering_ns.hostname]['ansible_host'] }}\
{%- endif -%}"