Hi there,
I’ve been testing awx for couple of days and I’m trying to integrate it inside my cloud environment (openstack), and I’m trying to use awx and ansible to provision my cloud’s resources, like creating an instance,
and to run a deployment process, like installing java on the created instance. moreover, i would like it to be part of a single awx’s workflow. if assumed that creating an instance and installing java are separated ansible projects inside awx,
is there a way to pass variables between job templates that part of the same workflow? can you suggest a better practices for this scenario?
I would like my awx’s workflow to look like:
Creating instance → syncing cloud inventory → (passing the created instance inventory id) → installing java
Or, each template must have all it’s variable set prior the running process (like the instance’s hostname that would be created)?
In addition, as awx already stores openstack credentials for syncing the dynamic inventory, is it possible to use them part of an ansible module like os_server (openstack’s create_instance ansible module)?
Last one, i still thinking about which implementation is better:
creating a single site awx cluster and run jobs through ssh proxy for each tenant, or maybe it better to use “security isolated instance” feature for each tenant, and as a result run ansible right from the private network.
I would like to hear some recommendation from your personal experience.
Regards,
NB.