-
Bug
-
Resolution: Done
-
Normal
-
None
-
rhel-9.2.0
-
None
-
rhel-sst-system-roles
-
1
-
False
-
-
None
-
CCS 2024-8, CCS 2024-9
-
None
-
Known Issue
-
-
Done
-
Done
-
Done
-
Not Required
Description of problem:
In ansible-core 2.14 the `warn:` parameter of `command` was removed. The system roles also removed the use of this parameter. This means on older versions of Ansible such as 2.9, these tasks will issue a warning like this:
[WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to
this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.
or
[WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient
you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.
If you must use Ansible 2.9, and you want to avoid these warnings, use the command_warnings configuration setting. See https://docs.ansible.com/ansible/latest/reference_appendices/config.html#command-warnings for more information.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
- external trackers