Hi,
I am new to AWX, I have a template which runs through a job submission. This templates runs a playbook which setups some nodes and generates a random ssh port to connect to the nodes. I need to get this port number because I need it somewhere else.
How could I do this?
thank you
Maybe I should paraphrase.
Is it possible to get the variables from a job submission once the job is finished?
I set variables with the set_stats: data: in jobs for use in subsequent jobs in the same workflow.
I have also used the cacheable: true option with set_fact to persist the variable in the host cache.