I've used the random filter to conditionally create either host_vars
with the value (if file exists it doesn't regenerate), optionally you
could create a file on the target in /etc/ansible/facts.d/

Another option would be to create something similar to the password
lookup, a db backed random lookup.

-- 
Brian Coca

-- 
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/CAJ5XC8kWLjF0ttXeaAqvEo-Qf-_iLmZG00fgDmTeqS%2B%3DtwbX6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to