summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/container-tools-install/tasks/main.yml23
1 files changed, 17 insertions, 6 deletions
diff --git a/ansible/roles/container-tools-install/tasks/main.yml b/ansible/roles/container-tools-install/tasks/main.yml
index 4a1ff456..6f2d4e33 100644
--- a/ansible/roles/container-tools-install/tasks/main.yml
+++ b/ansible/roles/container-tools-install/tasks/main.yml
@@ -1,3 +1,13 @@
+- name: "update all"
+ yum:
+ name: '*'
+ conf_file: "{{ rpm_repo_config_path }}"
+ state: latest
+
+- name: "hotfix for dnf broken"
+ shell:
+ cmd: "dnf upgrade --refresh rpm glibc && rm /var/lib/rpm/.rpm.lock && dnf upgrade dnf"
+
- name: "install tcpdump"
yum:
name: tcpdump
@@ -10,12 +20,6 @@
conf_file: "{{ rpm_repo_config_path }}"
state: present
-- name: "install libnsl"
- yum:
- name: libnsl
- conf_file: "{{ rpm_repo_config_path }}"
- state: present
-
- name: "install iproute"
yum:
name: iproute
@@ -76,10 +80,17 @@
conf_file: "{{ rpm_repo_config_path }}"
state: present
+- name: "install libnsl"
+ yum:
+ name: libnsl
+ conf_file: "{{ rpm_repo_config_path }}"
+ state: present
+
- name: "install perf"
yum:
name: perf
conf_file: "{{ rpm_repo_config_path }}"
state: present
+ releasever: 8.6