This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-os-buildimage/ansible/roles/container-tools-install/tasks/main.yml
2023-03-02 16:55:10 +08:00

103 lines
1.9 KiB
YAML

- 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
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install numactl-libs"
yum:
name: numactl-libs
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install iproute"
yum:
name: iproute
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install iptables"
yum:
name: iptables
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install procps"
yum:
name: procps
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install net-tools"
yum:
name: net-tools
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install ethtool"
yum:
name: ethtool
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install gdb"
yum:
name: gdb
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install ipmitool"
yum:
name: ipmitool
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install liburing"
yum:
name: liburing
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install vim"
yum:
name: vim
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install lrzsz"
yum:
name: lrzsz
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
- name: "install libnsl"
yum:
name: jq
conf_file: "{{ rpm_repo_config_path }}"
state: present