On Fri, 18 Jun 2021 17:35:28 -0500
jane p <[email protected]> wrote:

> Application should be able to change its dependency structure, for
> example, so that
> service C now depends on artifacts1, 2 and 3, and ansible playbook
> should not have to change.

You can create data-driven control flow. As a hint, see the role
https://github.com/vbotka/ansible-config-light

You can dynamically create handlers, e.g.
https://ansible-config-light.readthedocs.io/en/latest/guide-variables-handlers.html#handlers

and configure what handlers shall be notified, e.g.
https://ansible-config-light.readthedocs.io/en/latest/guide-variables-files-lineinfile.html#lineinfile

The role will collect the data and create the handlers. See
https://ansible-config-light.readthedocs.io/en/latest/guide.html#setup

-- 
Vladimir Botka

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20210619053925.1c2fd339%40gmail.com.

Attachment: pgpoRoyRN04n4.pgp
Description: OpenPGP digital signature

Reply via email to