buluma.maintenance
Ansible Role Maintenance
Keep your system clean and organized.
GitHub | Version | Issues | Pull Requests | Downloads |
---|---|---|---|---|
Example Playbook
This example is from molecule/default/converge.yml
and is tested every time there is a change.
---
- name: Clean Up
hosts: all
become: yes
gather_facts: yes
roles:
- role: buluma.maintenance
maintenance_files_to_empty:
- /tmp/some_file.txt
Prepare the machine beforehand using molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: yes
gather_facts: no
roles:
- role: buluma.bootstrap
tasks:
- name: create a file
ansible.builtin.copy:
dest: /tmp/some_file.txt
content: "Some content"
mode: "0644"
For a detailed guide on using these roles, see this explanation and example.
Role Variables
Default variable values are set in defaults/main.yml
:
---
# defaults file for maintenance
maintenance_journalctl_vacuum: 10d
# A list of files to be emptied.
# maintenance_files_to_empty:
# - /tmp/some_file.txt
Requirements
- Python packages listed in requirements.txt.
State of Used Roles
These roles are used for system preparation. You can use different methods to prepare your system.
Requirement | GitHub | Version |
---|---|---|
buluma.bootstrap |
Context
This role works with many compatible roles. Check the documentation for these roles for more details.
Here is a visual of related roles:
Compatibility
This role has been tested on these container images:
Container | Tags |
---|---|
Alpine | All |
Amazon | All |
EL | 8 |
Debian | All |
Fedora | All |
OpenSUSE | All |
Ubuntu | All |
Kali | All |
Ansible version 2.12 or higher is required. Tests have been done on:
- The previous version.
- The current version.
- The development version.
If you encounter issues, please report them on GitHub.
Changelog
License
Author Information
Installa
ansible-galaxy install buluma.maintenance
Licenza
apache-2.0
Download
18.3k
Proprietario
DevOps Engineer