How to launch AWX workflows sequentially

84 views
Skip to first unread message

Mike Measel

unread,
Apr 19, 2021, 10:54:41 AM4/19/21
to Ansible Project
I have a dynamic inventory that has dynamic groups ( I don't know them ahead of time ) and each group requires a special tunnel be setup and then torn down before/after each groups hosts plays are processed.
I thought this would be simple but I have not found a good way.
Does an AWX have any method for launching a workflow once the previous workflow has finished ?

Alex Wanderley

unread,
Apr 19, 2021, 11:04:44 AM4/19/21
to ansible...@googlegroups.com
Hi,

Isn't it the default behavior of workflows? (Forgive me if I'm misunderstanding your question...)

On Ansible Tower we have a sequential workflow made of 3 jobs/templates and the second and third jobs only start after the first and second have finished:

| START |   --->  | 1ST JOB  |   --->   |  2ND JOB  |   --->   |  3RD JOB   |

You can tell Tower/AWX if each subsequent job shall start or not depending on the finishing status of the previous job.


Alex

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/050ef74d-86bf-4e4a-9a4e-2e6b0f50fb77n%40googlegroups.com.


--

 

Edmonton_sig_RGB_S.jpg

Alex Wanderley

Application and Infrastructure Analyst II
UNIX / Storage Team

Financial and Corporate Services | Open City and Technology  

 

780-496-4156  Office

780-819-0273  Mobile

 

City of Edmonton

Century Place, 12th Floor

9803 102A Avenue NW

Edmonton AB, T5J 3A3

 

All information contained in this email post is proprietary to the City of Edmonton, confidential and intended only for the addressed recipient. If you have received this post in error, please disregard the contents, inform the sender of the misdirection, and remove it from your system. The copying, dissemination or distribution of this email, if misdirected, is strictly prohibited.


The contents of this message and any attachment(s) are confidential, proprietary to the City of Edmonton, and are intended only for the addressed recipient. If you have received this in error, please disregard the contents, inform the sender of the misdirection, and remove it from your system. The copying, dissemination, or distribution of this message, if misdirected, is strictly prohibited.

Mike Measel

unread,
Apr 19, 2021, 11:08:53 AM4/19/21
to ansible...@googlegroups.com, Alex Wanderley

Yes, but that's for whatever hosts are specified.  I need to process several groups thru the workflow - one group at a time. 

The contents of this message and any attachment(s) are confidential, proprietary to the City of Edmonton, and are intended only for the addressed recipient. If you have received this in error, please disregard the contents, inform the sender of the misdirection, and remove it from your system. The copying, dissemination, or distribution of this message, if misdirected, is strictly prohibited. --
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/2xzHc6awpVA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CADp8UUTK_RQ5dhQbpsKxsxSi6BhmdvS36TmPJ_c8nqKF7ScK3Q%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages