Update site.yml
This commit is contained in:
14
site.yml
14
site.yml
@@ -4,15 +4,19 @@
|
|||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Updates apt cache
|
- name: Apt Update
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
- name: Perform a dist-upgrade.
|
- name: Apt Upgrade
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
upgrade: dist
|
upgrade: yes
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: Remove dependencies that are no longer required.
|
- name: Apt Autoremove
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
autoremove: yes
|
autoremove: yes
|
||||||
|
|
||||||
|
- name: Apt Autoclean
|
||||||
|
ansible.builtin.apt:
|
||||||
|
autoclean: true
|
||||||
Reference in New Issue
Block a user