From 727ab17a644d52105746e18c301cf733b1181507 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 31 Jul 2023 23:44:54 +0200 Subject: move Ansible files to src/ --- src/roles/apt/tasks/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/roles/apt/tasks/main.yml (limited to 'src/roles/apt/tasks') diff --git a/src/roles/apt/tasks/main.yml b/src/roles/apt/tasks/main.yml new file mode 100644 index 0000000..297307b --- /dev/null +++ b/src/roles/apt/tasks/main.yml @@ -0,0 +1,19 @@ +- name: Upgrade packages + become: true + ansible.builtin.apt: + update_cache: true + upgrade: full + notify: reboot + +- name: Flush handlers + ansible.builtin.meta: flush_handlers + +- name: Clean up dependencies + become: true + ansible.builtin.apt: + autoremove: true + purge: true + notify: reboot + +- name: Flush handlers + ansible.builtin.meta: flush_handlers -- cgit v1.2.3