Update playbooks_filters.rst (#74242)
##### SUMMARY Make the `random` filter description more clear.
This commit is contained in:
parent
5e5bfa8116
commit
5f391a72ee
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue