Update enodebd role to support molecule testing
Change-Id: Ib98990d1ca572209db93099cfe3f0e1a40e59a04
diff --git a/tasks/Debian.yml b/tasks/Debian.yml
new file mode 100644
index 0000000..97c51c5
--- /dev/null
+++ b/tasks/Debian.yml
@@ -0,0 +1,24 @@
+---
+# enodebd tasks/Debian.yml
+#
+# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
+# SPDX-License-Identifier: Apache-2.0
+
+- name: Install enodebd Prereqs
+ apt:
+ name:
+ - "python3"
+ - "python3-pip"
+ state: "present"
+ update_cache: true
+ cache_valid_time: 3600
+
+- name: Create systemd service unit files for enodebd services
+ template:
+ src: "{{ item }}.j2"
+ dest: "/etc/systemd/system/{{ item }}"
+ owner: "root"
+ group: "root"
+ mode: "0644"
+ with_items:
+ - "enodebd.service"