blob: 97c51c5bb8d06d8eaaf9ce1c4bbc8da1c259d280 [file] [log] [blame]
Wei-Yu Chen434dc4d2022-01-03 21:27:31 +08001---
2# enodebd tasks/Debian.yml
3#
4# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
5# SPDX-License-Identifier: Apache-2.0
6
7- name: Install enodebd Prereqs
8 apt:
9 name:
10 - "python3"
11 - "python3-pip"
12 state: "present"
13 update_cache: true
14 cache_valid_time: 3600
15
16- name: Create systemd service unit files for enodebd services
17 template:
18 src: "{{ item }}.j2"
19 dest: "/etc/systemd/system/{{ item }}"
20 owner: "root"
21 group: "root"
22 mode: "0644"
23 with_items:
24 - "enodebd.service"