From 1ea74f4dd6d58aabd4000cfc647e44f17350c62f Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Tue, 12 Oct 2021 20:58:20 +0530 Subject: [PATCH] Misc typo fix (#76008) Signed-off-by: Abhijeet Kasurde --- docs/docsite/rst/user_guide/playbooks_filters.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docsite/rst/user_guide/playbooks_filters.rst b/docs/docsite/rst/user_guide/playbooks_filters.rst index 2c1d3976fd7..c9dc1a5af7c 100644 --- a/docs/docsite/rst/user_guide/playbooks_filters.rst +++ b/docs/docsite/rst/user_guide/playbooks_filters.rst @@ -193,8 +193,8 @@ Forcing the data type You can cast values as certain types. For example, if you expect the input "True" from a :ref:`vars_prompt ` and you want Ansible to recognize it as a boolean value instead of a string:: - - debug: - msg: test + - ansible.builtin.debug: + msg: test when: some_string_value | bool If you want to perform a mathematical comparison on a fact and you want Ansible to recognize it as an integer instead of a string:: @@ -300,7 +300,7 @@ To get a list combining the elements of other lists use ``zip``:: - name: Give me list combo of two lists ansible.builtin.debug: - msg: "{{ [1,2,3,4,5,6] | zip(['a','b','c','d','e','f']) | list }}" + msg: "{{ [1,2,3,4,5,6] | zip(['a','b','c','d','e','f']) | list }}" # => [[1, "a"], [2, "b"], [3, "c"], [4, "d"], [5, "e"], [6, "f"]]