Ansible role to dynamically install different software from different sources.
This role contains the following custom install tasks:
- Brave Browser
- Gotify CLI
- Helm
- K9s
- kubectl
- Starship
If the package is not one of the above, then the apt
or dnf
package manager (scoop
for Windows hosts) is used to install the package.
- hosts: servers
roles:
- role: egvimo.misc.installer
vars:
installer_packages:
- kubectl
- screen
- starship
To dynamically pass the packages to the role (or override them) via command line, use the following command:
ansible-playbook playbook.yml -t installer -e "installer_packages=kubectl,starship"