Constructing Ansible variables with the vars-lookup plugin
I have an Ansible role that deploys microservices, of whom I have a list of. The microservices are called foo
, bar
and baz
.
I also have a list of stages, called DEV
, QA
and PROD
where the microservices get deployed to.
Of course, every microservice needs to connect to a …
more ...