Remove 'warn' - its no longer supported.
This commit is contained in:
@@ -15,17 +15,14 @@
|
||||
tags:
|
||||
- redis-server
|
||||
|
||||
|
||||
- name: (redis-server.yml) dpkg --configure
|
||||
command: >
|
||||
dpkg --configure -a
|
||||
args:
|
||||
warn: false
|
||||
changed_when: _dpkg_configure.stdout_lines | length
|
||||
- name: (redis-server.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:
|
||||
- ansible_facts['distribution'] == "Debian"
|
||||
- apt_update|bool
|
||||
- apt_dpkg_configure|bool
|
||||
tags:
|
||||
- redis-server
|
||||
|
||||
|
Reference in New Issue
Block a user