Docs edit for #18477.

This commit is contained in:
Scott Butler 2016-11-17 15:51:48 -08:00
parent 96ddd29c7e
commit b5442577ce

View file

@ -168,8 +168,7 @@ Get a random number from 1 to 100 but in steps of 10::
{{ 100 |random(1, 10) }} => 31
{{ 100 |random(start=1, step=10) }} => 51
It's also possible to initialize random number generator from seed. This way, you can create random-but-idempotent
numbers (new in version 2.3)::
As of Ansible version 2.3, it's also possible to initialize the random number generator from a seed. This way, you can create random-but-idempotent numbers::
{{ 59 |random(seed=inventory_hostname) }} * * * * root /script/from/cron