feat(ansible): Ubuntu Jammy VI.
[csit.git] / fdio.infra.ansible / roles / trex / tasks / main.yaml
index d43baf9..0196b08 100644 (file)
@@ -2,8 +2,8 @@
 # file: roles/trex/tasks/main.yaml
 
 - name: Inst - Update Package Cache (APT)
-  apt:
-    update_cache: yes
+  ansible.builtin.apt:
+    update_cache: true
     cache_valid_time: 3600
   when:
     - ansible_distribution|lower == 'ubuntu'
@@ -11,7 +11,7 @@
     - trex-inst-prerequisites
 
 - name: Inst - Prerequisites
-  package:
+  ansible.builtin.package:
     name: "{{ packages | flatten(levels=1) }}"
     state: latest
   tags:
@@ -21,4 +21,4 @@
   include_tasks: deploy_block.yaml
   loop: "{{ trex_version }}"
   tags:
-    - trex-inst
\ No newline at end of file
+    - trex-inst