Install, configure and start/stop libreswan tunnels
tasks:
- include_role: name=ansible-libreswan
These extra vars should be used once with the required vars defined:
ansible-playbook libreswan.yml -e create_ca_cert=True -e nss_defined_password=True -D
-
set_nssdb_secret
indicate that you want to create and set the secret for the DB -
create_ca_cert=True
indicate that you want to create your own CA certificate
Otherwise, play it like that:
ansible-playbook libreswan.yml -D