Hello, You could use a lookup or command to run a mysql query.
Although not specifically what you're looking for, this example does go to somewhere remote to get a value... https://github.com/phips/ansible-demos/blob/master/roles/app/tasks/main.yml#L11 Cheers, --Mark On Wednesday, 20 July 2016 10:53:18 UTC-4, Gabriel Forster wrote: > > The servers here have nfs-mounted volumes. I need to get that volume name > (stored in mysql) and make a symlink to it. Any idea how to accomplish this > without manual intervention? > > Thanks! > -- 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/ebdf4622-9606-4ca2-971b-89f8b4141d31%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
