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:
rabi 2022-11-29 14:27:39 +05:30
parent bb344b093d
commit 1ae0f58d97
1 changed files with 0 additions and 2 deletions

View File

@ -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