aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/vpp/tasks
diff options
context:
space:
mode:
authorPeter Mikus <peter.mikus@protonmail.ch>2024-10-18 14:26:36 +0200
committerPeter Mikus <peter.mikus@protonmail.ch>2024-10-24 10:41:05 +0000
commit34a7bf412a78d8c2e259d631ec770047fe5b311d (patch)
tree55edb0c514676b4a302718aeac9c48846cfbea6f /fdio.infra.ansible/roles/vpp/tasks
parent120716e561c1d0e3c7d06cbb96d1f70cf3949e5c (diff)
feat(ansible): Ubuntu 24.04
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: Id486cbf0cdade79450912b54c068a3287c4edd36
Diffstat (limited to 'fdio.infra.ansible/roles/vpp/tasks')
-rw-r--r--fdio.infra.ansible/roles/vpp/tasks/main.yaml13
1 files changed, 6 insertions, 7 deletions
diff --git a/fdio.infra.ansible/roles/vpp/tasks/main.yaml b/fdio.infra.ansible/roles/vpp/tasks/main.yaml
index cea06b764d..b7cb484b9a 100644
--- a/fdio.infra.ansible/roles/vpp/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/vpp/tasks/main.yaml
@@ -1,23 +1,22 @@
---
-# file: roles/vpp/tasks/main.yaml
+# file: tasks/main.yaml
-- name: Inst - Update Package Cache (APT)
+- name: "Update Package Cache (APT)"
ansible.builtin.apt:
update_cache: true
- cache_valid_time: 3600
when:
- - ansible_distribution|lower == 'ubuntu'
+ - ansible_os_family == 'Debian'
tags:
- vpp-inst-prerequisites
-- name: Inst - Prerequisites
+- name: "Prerequisites"
ansible.builtin.package:
name: "{{ packages | flatten(levels=1) }}"
- state: latest
+ state: "latest"
tags:
- vpp-inst-prerequisites
-- name: Conf - sysctl
+- name: "sysctl"
ansible.builtin.file:
src: "/dev/null"
dest: "/etc/sysctl.d/80-vpp.conf"