Hi Christian,
On Sun, Dec 09, 2018 at 08:06:28AM -0800, Christian Marquardt wrote:
> - Having local facts defined on remote machine containing a list of
> databases running on this host
> - Having local list of host-database-relationship on the ansible host itself
>
> Does anyone of you have an better idea?
If I was going to have multiple tasks interacting with the list of
databases I think I would go the fact route.
Otherwise I would probably run a command that listed the databases,
register it in a variable and then do things in later tasks based on
that variable.
Cheers,
Andy