Update playbooks_filters.rst (#74242)

##### SUMMARY
Make the `random` filter description more clear.
pull/74354/head
yuri 3 years ago committed by GitHub
parent 5e5bfa8116
commit 5f391a72ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -854,7 +854,7 @@ To get a random item from a list::
"{{ ['a','b','c'] | random }}"
# => 'c'
To get a random number between 0 and a specified number::
To get a random number between 0 (inclusive) and a specified integer (exclusive)::
"{{ 60 | random }} * * * * root /script/from/cron"
# => '21 * * * * root /script/from/cron'

Loading…
Cancel
Save