buluma.update_package_cache
Ansible Role: Update Package Cache
This role helps you update the cache for package managers like yum and apt.
GitHub | Version | Issues | Pull Requests | Downloads |
---|---|---|---|---|
Example Playbook
Here’s a simple example from the file molecule/default/converge.yml
, which is tested every time changes are made.
---
- name: Update Package Cache
hosts: all
become: yes
gather_facts: yes
roles:
- role: buluma.update_package_cache
Before running this, the machine should be set up. In Continuous Integration (CI), this is done using molecule/default/prepare.yml
:
---
- name: Prepare System
hosts: all
become: yes
gather_facts: no
roles:
- role: buluma.bootstrap
For a detailed guide on using these roles, see this page.
Requirements
- The Python packages listed in requirements.txt.
Used Roles
The following roles help prepare your system. You can use other methods if you prefer.
Requirement | GitHub | Version |
---|---|---|
buluma.bootstrap |
Context
This role is part of a collection of compatible roles. Check out the documentation for these roles for more information.
Here's a visual representation of related roles:
Compatibility
This role has been tested on the following container images:
Container | Tags |
---|---|
EL | 8 |
Debian | all |
Fedora | all |
opensuse | all |
Ubuntu | jammy, focal, noble |
Kali | all |
The minimum version of Ansible you need is 2.12. We have conducted tests on:
- The previous version.
- The current version.
- The development version.
If you encounter any issues, please report them on GitHub.
Changelog
Find the history of changes here.
License
This role is licensed under Apache-2.0.
Author Information
Created by Shadow Walker.
ansible-galaxy install buluma.update_package_cache