astara-appliance/ansible/tasks/strongswan.yml
Mark McClain 920954e31d Add support for StrongSwan VPN to router
This change adds Strongswan to support VPNaaS in appliance.

Change-Id: I1adb74c159eaf4f62950d17ed015856e90a91641
Partial-Blueprint: neutron-vpnaas
2016-03-18 14:29:40 -07:00

10 lines
267 B
YAML

---
- name: install strongswan
apt: name=strongswan state=installed install_recommends=yes
when: strongswan_enable
- name: Ensure strongswan is started
service: name=strongswan state=started enabled=yes
when: strongswan_enable and strongswan_enable_service