[ ] other documentation is changed or added (if applicable)
[ ] playbook changes run through VPC or QPC (if you have access)
[x] VPC/QPC not applicable for this PR
[ ] for inventory.yml changes, bastillion/nagios/jenkins updated accordingly
Using warn: False/warn=False is deprecated, which is causing linter errors
FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, removes, stdin, stdin_add_newline, strip_empty_ends."}
inline-env-var: Command module does not accept setting environment variables inline.
ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/yum/tasks/main.yml:70 Task/Handler: Unpack yum bundle
inline-env-var: Command module does not accept setting environment variables inline.
ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/ccache/tasks/main.yml:17 Task/Handler: Download ccache.tar.gz
For the aix yum task, the yum role is deprecated. We install dnf on 7.2+ so I am comfortable removing the warn option there. For the ccache role, running the task without the warn makes no difference to the output, so i've removed it for that task
Using
warn: False
/warn=False
is deprecated, which is causing linter errorsFAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, removes, stdin, stdin_add_newline, strip_empty_ends."}
For the aix yum task, the yum role is deprecated. We install dnf on 7.2+ so I am comfortable removing the
warn
option there. For the ccache role, running the task without thewarn
makes no difference to the output, so i've removed it for that task