aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/common/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/common/tasks/main.yaml')
-rw-r--r--fdio.infra.ansible/roles/common/tasks/main.yaml14
1 files changed, 7 insertions, 7 deletions
diff --git a/fdio.infra.ansible/roles/common/tasks/main.yaml b/fdio.infra.ansible/roles/common/tasks/main.yaml
index 7418709c99..7f122d23aa 100644
--- a/fdio.infra.ansible/roles/common/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/common/tasks/main.yaml
@@ -2,7 +2,7 @@
# file: roles/common/tasks/main.yaml
- name: Conf - Add permanent proxy settings
- lineinfile:
+ ansible.builtin.lineinfile:
path: "/etc/environment"
state: "present"
line: "{{ item.key }}={{ item.value }}"
@@ -12,7 +12,7 @@
- common-conf-proxy
- name: Inst - Update package cache (apt)
- apt:
+ ansible.builtin.apt:
update_cache: true
cache_valid_time: 3600
when:
@@ -21,21 +21,21 @@
- common-inst-prerequisites
- name: Inst - Prerequisites
- package:
+ ansible.builtin.package:
name: "{{ packages | flatten(levels=1) }}"
- state: latest
+ state: "latest"
tags:
- common-inst-prerequisites
- name: Inst - Meson (DPDK)
- pip:
+ ansible.builtin.pip:
name:
- "meson==0.49.2"
tags:
- common-inst-meson
- name: Conf - sudoers admin
- lineinfile:
+ ansible.builtin.lineinfile:
path: "/etc/sudoers"
state: "present"
regexp: "^%admin ALL="
@@ -45,7 +45,7 @@
- common-conf-sudoers
- name: Conf - sudoers nopasswd
- lineinfile:
+ ansible.builtin.lineinfile:
path: "/etc/sudoers"
state: "present"
regexp: "^%sudo"