ansible installation issue

Latest response

the below mentioned error am getting

TASK [packages_el : Disable required dnf modules] ******************************
failed: [localhost] (item=php) => {"ansible_loop_var": "item", "changed": false, "item": "php", "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."}

Responses