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

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20181209171506.GA4569%40bitfolk.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to