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
Valid issue, thank you! Indeed, creating a workflow_job_template through the API does not require an inventory, so the collection should not require one either.
Please confirm the following
[email protected]
instead.)Bug Summary
which would be required to remove the setting
AWX version
4.6.7
Select the relevant components
Installation method
docker development environment
Modifications
no
Ansible version
2.15.13
Operating system
RHEL9
Web browser
No response
Steps to reproduce
ansible -m ansible.controller.workflow_job_template -a '{"name": "Workflow B", "workflow_nodes": [{"identifier": "1ca40111-f92b-435e-bff2-b33edd455941", "unified_job_template": {"name": "Template C", "type": "job_template"}, "inventory": "Dynamic C"}]}' localhost
localhost | CHANGED => {
"changed": true,
"id": 18,
"node_creation_data": [
.....
ansible -m ansible.controller.workflow_job_template -a '{"name": "Workflow B", "workflow_nodes": [{"identifier": "1ca40111-f92b-435e-bff2-b33edd455941", "unified_job_template": {"name": "Template C", "type": "job_template"}, "inventory": ""}]}' localhost
Expected results
localhost | CHANGED => {
"changed": true,
"id": 18,
"node_creation_data": [
.....
Actual results
localhost | FAILED! => {
"changed": false,
"msg": "Request to /api/v2/inventories/ returned 11 items, expected 1",
"query": null,
.....
Additional information
No response
The text was updated successfully, but these errors were encountered: