You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and run the playbook in "check" mode from awx. the task fails to run
Expected results
that a task with check_mode: false runs when the play is run in "check mode". This is what already occurs when the cli is used, i.e. ansible-playboook my-playbook-name.yaml --check.
Actual results
skipping: [<truncated>] => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3"},"changed": false,"cmd": ["hostname"],"delta": null,"end": null,"invocation": {"module_args": {"_raw_params": "hostname","_uses_shell": false,"argv": null,"chdir": null,"creates": null,"executable": null,"expand_argument_vars": true,"removes": null,"stdin": null,"stdin_add_newline": true,"strip_empty_ends": true}},"msg": "Command would have run if not in check mode",…
Additional information
No response
The text was updated successfully, but these errors were encountered:
Please confirm the following
security@ansible.com
instead.)Bug Summary
when running a job template with job type
Playbook Check
, tasks withcheck_mode: false
do not run as intended when on the cli they do.AWX version
23.9.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
23.9.0
Operating system
k3s 1.29
Web browser
No response
Steps to reproduce
add the following task
and run the playbook in "check" mode from awx. the task fails to run
Expected results
that a task with
check_mode: false
runs when the play is run in "check mode". This is what already occurs when the cli is used, i.e.ansible-playboook my-playbook-name.yaml --check
.Actual results
Additional information
No response
The text was updated successfully, but these errors were encountered: