Robert Kaussow
7bd4c50f8e
All checks were successful
continuous-integration/drone/push Build is passing
21 lines
426 B
YAML
21 lines
426 B
YAML
---
|
|
- block:
|
|
- name: Add package lock
|
|
dpkg_selections:
|
|
name: python
|
|
selection: hold
|
|
loop: "{{ update_packages_exclude }}"
|
|
|
|
- name: Upgrade packages
|
|
apt:
|
|
update_cache: yes
|
|
upgrade: dist
|
|
|
|
- name: Remove package lock
|
|
dpkg_selections:
|
|
name: python
|
|
selection: install
|
|
loop: "{{ update_packages_exclude }}"
|
|
become: True
|
|
become_user: root
|