added 'apt autoclean' to pre-run tasks for debian and likes
This commit is contained in:
@@ -31,7 +31,9 @@
|
||||
tags: always
|
||||
|
||||
- name: pre-run | update apt repository (debian, ubuntu, etc.) # noqa no-changed-when
|
||||
ansible.builtin.apt: update_cache=yes
|
||||
ansible.builtin.apt:
|
||||
update_cache: yes
|
||||
autoclean: yes
|
||||
#changed_when: false
|
||||
when: ansible_facts['distribution'] in ["Debian", "Ubuntu", "Linux Mint"]
|
||||
ignore_errors: True
|
||||
@@ -149,7 +151,7 @@
|
||||
become: true
|
||||
handlers:
|
||||
- ansible.builtin.import_tasks: global_handlers/global_handlers.yml
|
||||
roles:
|
||||
roles:aide --config /etc/aide/aide.conf --update
|
||||
- podman
|
||||
|
||||
- hosts: drone
|
||||
|
||||
Reference in New Issue
Block a user