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
2024-04-12 15:12:14 +08:00

163 lines
3.2 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
- name: "install perl"
yum:
name: perl
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install perl-open"
yum:
name: perl-open
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install valgrind"
yum:
name: valgrind
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install python2"
yum:
name: python2
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "Install python module"
shell: pip2 install -i https://pypi.tuna.tsinghua.edu.cn/simple PrettyTable==0.7.2
- name: "install flamegraphs for perf"
yum:
name: js-d3-flame-graph
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install python3"
yum:
name: python3
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install python3 prettytable"
shell: python3 -m pip install prettytable
- name: "install python3 jinja2"
shell: python3 -m pip install jinja2
- name: "install dnsutils"
yum:
name: dnsutils
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install wireshark"
yum:
name: wireshark
conf_file: "{{ rpm_repo_config_path }}"
state: present
- name: "install crudini"
yum:
name: crudini
conf_file: "{{ rpm_repo_config_path }}"
state: present