robertdebock.update_package_cache

Ansible Role: Update Package Cache

THIS ROLE IS NO LONGER MAINTAINED AS OF DEC 2023.

This role updates the cache for yum and apt package managers.

GitHub GitLab Downloads Version
github gitlab downloads Version

Example Playbook

This playbook example comes from molecule/default/converge.yml and is tested on every push, pull request, and release.

---
- name: Converge
  hosts: all
  become: yes
  gather_facts: yes

  roles:
    - role: robertdebock.update_package_cache

To prepare the machine, you can use molecule/default/prepare.yml:

---
- name: Prepare
  hosts: all
  become: yes
  gather_facts: no

  roles:
    - role: robertdebock.bootstrap

For more detailed instructions, see the full explanation and example on using these roles.

Requirements

State of Used Roles

The following roles are used to set up a system. You can use other methods for system preparation.

Requirement GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab

Context

This role works with many other compatible roles. Check out the documentation of these roles for more information.

Here is an overview of related roles: dependencies

Compatibility

This role has been tested with these container images:

Container Tags
Alpine all
Amazon Candidate
EL 8, 9
Debian all
Fedora all
opensuse all
Ubuntu all

The minimum Ansible version needed is 2.12. Tests have been done on:

  • The previous version.
  • The current version.
  • The development version.

If you encounter any issues, please report them on GitHub.

License

Licensed under Apache-2.0.

Author Information

Created by robertdebock.

Please consider sponsoring me.

Informazioni sul progetto

Update cache for yum and apt package managers.

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