Cleanup

Document Control

TODO:

  • Overall structure.
  • Initial draft complete
  • Testing
  • Ready

Ansible Role Ansible Quality Score Build Status GitHub issues GitHub last commit

User Story: Cleanup

As a: UNIX and Linux system administrator

I want to: cleanup temporary files and leaf packages

So that: reclaim disk space.

Using the role

Using the role in a playbook
---
- name: Install cleanup
  hosts: all

  tasks:
    - name: cleanup is configured
      import_role:
        name: crivetimihai.cleanup
      vars:
        cleanup_enable_service: true
      tags: cleanup
# Install the role
ansible-galaxy install crivetimihai.cleanup

# Run the playbook
ansible-playbook cleanup-playbook.yml

Last update: 2020-02-04