robertdebock.software
Ansible Role Software
This role helps you install or remove software on your system.
GitHub | GitLab | Downloads | Version |
---|---|---|---|
Example Playbook
This example is from molecule/default/converge.yml
and is tested with every update.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: robertdebock.software
Before running this, the machine needs to be set up, which you can do using molecule/default/prepare.yml
:
---
- name: prepare
hosts: all
become: true
gather_facts: false
roles:
- role: robertdebock.bootstrap
For more detailed instructions, check out this full explanation and example on how to use these roles.
Role Variables
Default variable settings are found in defaults/main.yml
:
---
# defaults file for software
# List of software packages to manage.
# software_packages:
# - name: screen
# - name: tcpdump
# state: absent
software_packages: []
Requirements
- Python packages listed in requirements.txt.
State of Used Roles
The roles listed below are used to prepare your system. You may use another way if you prefer.
Requirement | GitHub | GitLab |
---|---|---|
robertdebock.bootstrap |
Context
This role is part of multiple compatible roles. For more details, visit the documentation for these roles.
Here’s a quick look at related roles:
Compatibility
This role has been tested with the following container images:
Container | Tags |
---|---|
Alpine | all |
Debian | all |
EL | 9 |
Fedora | all |
Ubuntu | all |
You need at least version 2.12 of Ansible. Tests have been conducted with:
- The previous version.
- The current version.
- The development version.
If you find any problems, please report them on GitHub.
License
Author Information
Consider sponsoring me if you find this useful.
ansible-galaxy install robertdebock.software