remove comand 'warn' - Unsupported parameters for (ansible.legacy.command) module: warn.
This commit is contained in:
@ -33,9 +33,9 @@
|
||||
- name: (apt.yml) dpkg --configure
|
||||
command: >
|
||||
dpkg --configure -a
|
||||
args:
|
||||
warn: false
|
||||
changed_when: _dpkg_configure.stdout_lines | length
|
||||
#args:
|
||||
# warn: false
|
||||
changed_when: _dpkg_configure.stdout_lines
|
||||
register: _dpkg_configure
|
||||
when: apt_dpkg_configure|bool
|
||||
tags:
|
||||
@ -393,8 +393,8 @@
|
||||
|
||||
- name: (apt.yml) clean
|
||||
command: apt-get -y clean
|
||||
args:
|
||||
warn: false
|
||||
#args:
|
||||
# warn: false
|
||||
changed_when: false
|
||||
when: apt_clean|bool
|
||||
tags:
|
||||
|
Reference in New Issue
Block a user