Problem:
I tried to install a package using Ansible and it complains about an unsupported parameter. This parameter is part of the default job template “Module Action - Ansible Default”, which is used by many (all?) Ansible job templates. it appears that the ‘warn: false’ argument is no longer supported under tasks.shell.
TASK [shell] *******************************************************************
fatal: [host.domain.com]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (ansible.legacy.command) module: warn. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, expand_argument_vars, removes, stdin, stdin_add_newline, strip_empty_ends."}
Expected outcome:
Ansible job templates to not throw unsupported parameter errors
Foreman and Proxy versions:
v3.18.1 (same on v3.17.2)
Foreman and Proxy plugin versions:
Foreman Proxy Service - Ansible Version3.7.1
Installed Ansible version: 2.16.14
Distribution and version:
CentOS Stream 9