This commit is contained in:
2025-10-27 23:17:40 +01:00
parent cfcd9c84ff
commit 8a4da8c615
8 changed files with 483 additions and 293 deletions

View File

@@ -30,13 +30,11 @@
- apt-webserver-pkgs
- name: (apt.yml) dpkg --configure
command: >
dpkg --configure -a
#args:
# warn: false
changed_when: _dpkg_configure.stdout_lines
- name: (apt.yml) Configure any half-installed packages 'dpkg --configure -a'
ansible.builtin.command: dpkg --configure -a
register: _dpkg_configure
changed_when: (_dpkg_configure.stdout | default('')) | length > 0
failed_when: _dpkg_configure.rc != 0
when: apt_dpkg_configure|bool
tags:
- apt-dpkg-configure