From 5f391a72eec600421b3d597503217168141331c1 Mon Sep 17 00:00:00 2001 From: yuri <1969yuri1969@gmail.com> Date: Tue, 20 Apr 2021 17:59:16 +0200 Subject: [PATCH] Update playbooks_filters.rst (#74242) ##### SUMMARY Make the `random` filter description more clear. --- docs/docsite/rst/user_guide/playbooks_filters.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/user_guide/playbooks_filters.rst b/docs/docsite/rst/user_guide/playbooks_filters.rst index 6398676a07c..0a8dc55bda5 100644 --- a/docs/docsite/rst/user_guide/playbooks_filters.rst +++ b/docs/docsite/rst/user_guide/playbooks_filters.rst @@ -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'