AETHER-918 Initial commit of strongSwan role
Change-Id: I090832bd211f9f053fecc7abda851bf9edc696b1
diff --git a/tasks/Debian.yml b/tasks/Debian.yml
new file mode 100644
index 0000000..f9e890b
--- /dev/null
+++ b/tasks/Debian.yml
@@ -0,0 +1,19 @@
+---
+# strongswan tasks/Debian.yml
+#
+# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
+# SPDX-License-Identifier: Apache-2.0
+
+- name: Install strongSwan package (Debian)
+ apt:
+ name: "{{ strongswan_package }}"
+ state: "present"
+ update_cache: true
+ cache_valid_time: 3600
+ notify:
+ - start-strongswan
+
+- name: Enable strongSwan Service
+ service:
+ name: "{{ strongswan_service }}"
+ enabled: true