SUMMARY
I am running AWX Docker setup and I just try to run a simple playbook: https://galaxy.ansible.com/dapiced/patch_update_yum/patch_update_yum
Which from the command line it runs perfectly, it does what it should, but when running it from a project within AWX it does not run.
ENVIRONMENT- AWX version: 6.1.0.0
- AWX install method: docker on linux
- Ansible version: 2.8.2
- Operating System: Red Hat 7.6
- Web Browser: Firefox Quantum 61.0.1 (64-bit)
STEPS TO REPRODUCE1. Setup a new playbook within: /var/lib/awx/projects/
- Setup Inventory and Project to run the playbook
- Run the playbook
EXPECTED RESULTS
PLAY RECAP *******************************************************************************************************************************************************************************************************************************
hostname : ok=2 changed=2 unreachable=0 failed=0
ACTUAL RESULTS
PLAYBOOK: site.yml *************************************************************
1 plays in site.yml
PLAY [Run patching operation tasks] ********************************************
18:40:04
META: ran handlers
META: ran handlers
META: ran handlers
PLAY RECAP *********************************************************************
18:40:04
But no change happened.
ADDITIONAL INFORMATION
I’ve checked docker logs, especially for the awx_task container but no error is being reported:
docker logs -f awx_task --tail 100
2020-02-18 17:40:01,468 DEBUG awx.main.dispatch delivered 6d29fff9-8d4a-42ab-becb-a0fa1689184b to worker[195] qsize 0
RESULT 2
OKREADY
2020-02-18 17:40:01,472 DEBUG awx.main.dispatch task 6d29fff9-8d4a-42ab-becb-a0fa1689184b starting awx.main.tasks.update_inventory_computed_fields(*[5, True])
2020-02-18 17:40:01,483 DEBUG awx.main.models.inventory Going to update inventory computed fields, pk=5
2020-02-18 17:40:01,520 DEBUG awx.main.models.inventory Finished updating inventory computed fields, pk=5, in 0.036 seconds
2020-02-18 17:40:01,522 DEBUG awx.main.dispatch task 6d29fff9-8d4a-42ab-becb-a0fa1689184b is finished
2020-02-18 17:40:01,600 DEBUG awx.main.dispatch delivered 14e4b576-1ee4-496b-99f7-f62f339e5ca7 to worker[198] qsize 0
2020-02-18 17:40:01,608 DEBUG awx.main.dispatch task 14e4b576-1ee4-496b-99f7-f62f339e5ca7 starting awx.main.scheduler.tasks.run_task_manager(*[])
2020-02-18 17:40:01,612 DEBUG awx.main.scheduler Running Tower task manager.
2020-02-18 17:40:01,630 DEBUG awx.main.scheduler Starting Scheduler
2020-02-18 17:40:01,730 DEBUG awx.main.scheduler Starting job 248 (pending) in group tower instance awx (remaining_capacity=17)
2020-02-18 17:40:01,740 DEBUG awx.main.scheduler Submitting job 248 (waiting) to <instance group, instance> <1,awx>.
2020-02-18 17:40:01,796 DEBUG awx.main.scheduler job 248 (waiting) consumed 3 capacity units from tower with prior total of 0
2020-02-18 17:40:01,804 DEBUG awx.main.dispatch publish awx.main.tasks.RunJob(04bc5dd3-7408-44ce-8201-6d08e2bb9abf, queue=awx)
2020-02-18 17:40:01,835 DEBUG awx.main.dispatch delivered 04bc5dd3-7408-44ce-8201-6d08e2bb9abf to worker[197] qsize 0
2020-02-18 17:40:01,843 DEBUG awx.main.dispatch task 04bc5dd3-7408-44ce-8201-6d08e2bb9abf starting awx.main.tasks.RunJob(*[248])
2020-02-18 17:40:01,843 DEBUG awx.main.dispatch task 14e4b576-1ee4-496b-99f7-f62f339e5ca7 is finished
2020-02-18 17:40:04,638 INFO awx.main.commands.run_callback_receiver Event processing is finished for Job 248, sending notifications
2020-02-18 17:40:04,638 INFO awx.main.commands.run_callback_receiver Event processing is finished for Job 248, sending notifications
2020-02-18 17:40:04,656 DEBUG awx.main.models.inventory Going to update inventory computed fields, pk=5
2020-02-18 17:40:04,693 DEBUG awx.main.models.inventory Finished updating inventory computed fields, pk=5, in 0.034 seconds
2020-02-18 17:40:04,737 DEBUG awx.main.tasks job 248 (running) finished running, producing 18 events.
2020-02-18 17:40:04,825 DEBUG awx.main.dispatch publish awx.main.tasks.update_inventory_computed_fields(6c67bec5-70f5-4122-93f3-89ee4ba4082b, queue=awx_private_queue)
2020-02-18 17:40:04,839 DEBUG awx.main.dispatch delivered 6c67bec5-70f5-4122-93f3-89ee4ba4082b to worker[196] qsize 0
2020-02-18 17:40:04,843 DEBUG awx.main.dispatch task 6c67bec5-70f5-4122-93f3-89ee4ba4082b starting awx.main.tasks.update_inventory_computed_fields(*[5, True])
2020-02-18 17:40:04,846 DEBUG awx.main.dispatch task 04bc5dd3-7408-44ce-8201-6d08e2bb9abf starting awx.main.tasks.handle_work_success(*[])
2020-02-18 17:40:04,851 DEBUG awx.main.dispatch publish awx.main.scheduler.tasks.run_task_manager(1855cec3-c69f-4170-92b7-86fe0cabcb99, queue=awx_private_queue)
2020-02-18 17:40:04,859 DEBUG awx.main.models.inventory Going to update inventory computed fields, pk=5
2020-02-18 17:40:04,875 DEBUG awx.main.dispatch delivered 1855cec3-c69f-4170-92b7-86fe0cabcb99 to worker[198] qsize 0
2020-02-18 17:40:04,874 DEBUG awx.main.dispatch task 04bc5dd3-7408-44ce-8201-6d08e2bb9abf is finished
2020-02-18 17:40:04,881 DEBUG awx.main.dispatch task 1855cec3-c69f-4170-92b7-86fe0cabcb99 starting awx.main.scheduler.tasks.run_task_manager(*[])
2020-02-18 17:40:04,889 DEBUG awx.main.scheduler Running Tower task manager.
2020-02-18 17:40:04,908 DEBUG awx.main.models.inventory Finished updating inventory computed fields, pk=5, in 0.047 seconds
2020-02-18 17:40:04,909 DEBUG awx.main.dispatch task 6c67bec5-70f5-4122-93f3-89ee4ba4082b is finished
2020-02-18 17:40:04,919 DEBUG awx.main.scheduler Starting Scheduler