fix an issue where micro, htop and exa are no longer available for alma and rocky

fix an issue for download links for supported linux distros
This commit is contained in:
Marco Ochse
2024-03-23 19:16:50 +01:00
parent de9db43ae0
commit d8c187b176
3 changed files with 44 additions and 13 deletions

View File

@ -155,7 +155,40 @@
- "AlmaLinux"
- "Rocky"
- name: Install recommended packages (AlmaLinux, Fedora, Rocky)
- name: Download and install micro editor (AlmaLinux, Rocky)
shell: "curl https://getmic.ro | bash && mv micro /usr/bin"
args:
executable: /bin/bash
register: curl_command
when: ansible_distribution in ["AlmaLinux", "Rocky"]
tags:
- "AlmaLinux"
- "Rocky"
- name: Install recommended packages (AlmaLinux, Rocky)
package:
name:
- bash-completion
- ca-certificates
- cracklib
- curl
- dnf-plugins-core
- exa
- git
- grc
- htop
- httpd-tools
- net-tools
- vim
- wget
state: latest
update_cache: yes
when: ansible_distribution in ["AlmaLinux", "Rocky"]
tags:
- "AlmaLinux"
- "Rocky"
- name: Install recommended packages (Fedora)
package:
name:
- bash-completion
@ -174,11 +207,9 @@
- wget
state: latest
update_cache: yes
when: ansible_distribution in ["AlmaLinux", "Fedora", "Rocky"]
when: ansible_distribution in ["Fedora"]
tags:
- "AlmaLinux"
- "Fedora"
- "Rocky"
- name: Remove conflicting packages (openSUSE Tumbleweed)
package: