Fix ansible 2.14 incompatibility
The warn parameter of command/shell module was deprecated was removed in 2.14[1]. [1] https://github.com/ansible/ansible/pull/77411 Closes-Bug: #1998098 Change-Id: If153ef72d9fbc0cbae7c1275ba866331f864995f
This commit is contained in:
parent
bb344b093d
commit
1ae0f58d97
@ -3,8 +3,6 @@
|
||||
become: true
|
||||
shell: |
|
||||
{{ ansible_pkg_mgr }} repolist enabled -v 2>&1 || exit 0
|
||||
args:
|
||||
warn: false
|
||||
changed_when: false
|
||||
register: repositories
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user