2020-12-27 16:47:18 +00:00
|
|
|
---
|
2021-02-16 00:17:55 +00:00
|
|
|
- name: Check for CentOS-Stream-PowerTools.repo file
|
|
|
|
stat:
|
|
|
|
path: /etc/yum.repos.d/CentOS-Stream-PowerTools.repo
|
|
|
|
register: pt
|
|
|
|
- name: Enable CentOS Stream PowerTools repository
|
|
|
|
become: true
|
|
|
|
lineinfile:
|
|
|
|
path: /etc/yum.repos.d/CentOS-Stream-PowerTools.repo
|
|
|
|
create: false
|
|
|
|
regexp: ^enabled=
|
|
|
|
line: enabled=1
|
|
|
|
when: ansible_distribution == 'CentOS' and pt.stat.exists
|
2020-12-27 16:47:18 +00:00
|
|
|
- name: Install CLI packages
|
|
|
|
become: true
|
|
|
|
dnf:
|
|
|
|
name: '{{ packages }}'
|
|
|
|
state: present
|
|
|
|
vars:
|
|
|
|
packages:
|
2021-02-08 15:05:52 +00:00
|
|
|
- "@container-tools"
|
2020-12-27 16:47:18 +00:00
|
|
|
- "@development"
|
|
|
|
- aspell-en
|
|
|
|
- bc
|
|
|
|
- bind-utils
|
|
|
|
- clang
|
|
|
|
- git
|
|
|
|
- gnupg2
|
|
|
|
- lldb
|
|
|
|
- mc
|
|
|
|
- nmap
|
|
|
|
- nodejs
|
|
|
|
- openssh-server
|
|
|
|
- python38
|
|
|
|
- python38-psutil
|
|
|
|
- sqlite
|
|
|
|
- sudo
|
|
|
|
- tmux
|
|
|
|
- vim-enhanced
|
|
|
|
- zsh
|