aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt/tasks/main.yml
blob: 297307ba0d8550ef1b8078124a36ee1a1d92b5ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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