Remove deprecated warn arg from command and shell module invocations.

pull/194/head 5.0.2
Jeff Geerling 2 years ago
parent c6297ddebb
commit 3f133ad7ab
  1. 4
      tasks/setup-RedHat.yml

@ -12,8 +12,6 @@
- name: Enable DNF module for CentOS 8.3+.
shell: |
dnf config-manager --set-enabled powertools
args:
warn: false
register: dnf_module_enable
changed_when: false
@ -22,8 +20,6 @@
- name: Enable DNF module for CentOS 8.0–8.2.
shell: |
dnf config-manager --set-enabled PowerTools
args:
warn: false
register: dnf_module_enable
changed_when: false

Loading…
Cancel
Save