aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/vpp/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/vpp/tasks/main.yaml')
-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"