Ansible equivalent for puppet's fqdn_rand()

161 views
Skip to first unread message

Paul Tötterman

unread,
Mar 10, 2016, 7:11:30 AM3/10/16
to Ansible Project
Hi,

I'd like for cron entries to be run at different minutes based on e.g. hostname (would be nice to be easy to pick the seed). In puppet I would use fqdn_rand(). The best I could find for ansible is https://stackoverflow.com/questions/33379378/idempotence-and-random-variables-in-ansible . Wouldn't it make sense for this to be available as a jinja filter?

Cheers,
Paul

Paul Tötterman

unread,
Mar 22, 2016, 6:44:43 AM3/22/16
to Ansible Project
Reply all
Reply to author
Forward
0 new messages