install package

This commit is contained in:
Gilles Mouchet 2024-05-22 17:44:45 +02:00
parent 2cdfcb5ae7
commit 06fa9a3403
2 changed files with 36 additions and 1 deletions

35
inst-package.yml Normal file
View File

@ -0,0 +1,35 @@
- name: install epel-release
yum:
state: installed
name:
- epel-release
#- name: active repo PowerTools
# replace:
# path: /etc/yum.repos.d/CentOS-Stream-PowerTools.repo
# regexp: 'enabled=0'
# replace: 'enabled=1'
- name: install package
yum:
state: installed
name:
# - epel-release
- vim
- rsync
- lsof
- man
- mlocate
- mutt
- mailx
- wget
- bind-utils
- yum-utils
- dnf-utils
- bash-completion
# - postfix-perl-scripts
- cifs-utils
- htop
- git
- tar
- unzip

View File

@ -5,6 +5,6 @@
- include_tasks: assert-vars.yml
- include_tasks: disable-ipv6.yml
- include_tasks: hosts.yml
# - include_tasks: inst_packages.yml
- include_tasks: inst-packages.yml
# - include_tasks: misc.yml