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!
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!
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