18 lines
374 B
YAML
18 lines
374 B
YAML
---
|
|
- name: Add package lock
|
|
ansible.builtin.dpkg_selections:
|
|
name: python
|
|
selection: hold
|
|
loop: "{{ update_packages_exclude }}"
|
|
|
|
- name: Upgrade packages
|
|
ansible.builtin.apt:
|
|
update_cache: yes
|
|
upgrade: dist
|
|
|
|
- name: Remove package lock
|
|
ansible.builtin.dpkg_selections:
|
|
name: python
|
|
selection: install
|
|
loop: "{{ update_packages_exclude }}"
|