Update site.yml
This commit is contained in:
22
site.yml
22
site.yml
@@ -1,22 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: all
|
|
||||||
gather_facts: yes
|
|
||||||
become: yes
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
- name: Apt Update
|
|
||||||
ansible.builtin.apt:
|
|
||||||
update_cache: true
|
|
||||||
|
|
||||||
- name: Apt Upgrade
|
|
||||||
ansible.builtin.apt:
|
|
||||||
upgrade: yes
|
|
||||||
update_cache: yes
|
|
||||||
|
|
||||||
- name: Apt Autoremove
|
|
||||||
ansible.builtin.apt:
|
|
||||||
autoremove: yes
|
|
||||||
|
|
||||||
- name: Apt Autoclean
|
|
||||||
ansible.builtin.apt:
|
|
||||||
autoclean: true
|
|
||||||
Reference in New Issue
Block a user