Avoid us having to type the password on every invocation.
While here ensure ipsec is running.
--- /dev/null
+.vault_pass
Push
=====
-ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook --ask-vault-pass -i inventory.yaml playbook-push.yaml
+ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook --vault-password-file=.vault_pass -i inventory.yaml playbook-push.yaml
community.general.sysrc:
name: strongswan_enable
value: "YES"
+- name: Start strongswam
+ ansible.builtin.service:
+ name: strongswan
+ state: started
+ become: true