robertdebock.software

Ansible Role Software

This role helps you install or remove software on your system.

GitHub GitLab Downloads Version
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

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 Build Status GitHub Build Status GitLab

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: dependencies

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

Apache-2.0.

Author Information

robertdebock

Consider sponsoring me if you find this useful.

Informazioni sul progetto

Install or uninstall software on your system.

Installa
ansible-galaxy install robertdebock.software
Licenza
apache-2.0
Download
39k
Proprietario
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.