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