ansible-role-strongswan/molecule/default/converge.yml
2021-09-11 18:52:14 +02:00

17 lines
387 B
YAML

---
- name: Converge
hosts: all
roles:
- ansible-role-strongswan
vars:
strongswan_connections:
test-ipsec:
left: '{{ ansible_all_ipv4_addresses[0] }}'
leftsubnet: 10.0.0.0/24
right: 192.168.0.2
rightsubnet: 10.1.0.0/24
psk: secret
pre_tasks:
- name: update apt cache
ansible.builtin.apt:
update_cache: true