From 515bb78ee1a6f153cae80e7dd47880bbe149c51d Mon Sep 17 00:00:00 2001 From: Benn Roth Date: Tue, 5 Dec 2017 10:29:28 -0800 Subject: [PATCH] minor accuracy fix Don't round the parameter 12.04 in the explanatory paragraph unless `version()` rounds the parameter (cherry picked from commit 5cf544e03e5f833e1614fa940849976550d55448) (cherry picked from commit 56967497d57abbf6ea62515b1776f1180072d274) --- changelogs/fragments/doc_fix.yml | 2 ++ docs/docsite/rst/user_guide/playbooks_tests.rst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/doc_fix.yml diff --git a/changelogs/fragments/doc_fix.yml b/changelogs/fragments/doc_fix.yml new file mode 100644 index 00000000000..a3d2b8baa27 --- /dev/null +++ b/changelogs/fragments/doc_fix.yml @@ -0,0 +1,2 @@ +bugfixes: + - minor doc fix https://github.com/ansible/ansible/pull/39111 diff --git a/docs/docsite/rst/user_guide/playbooks_tests.rst b/docs/docsite/rst/user_guide/playbooks_tests.rst index 3d13856b1dd..aa0ae6233c9 100644 --- a/docs/docsite/rst/user_guide/playbooks_tests.rst +++ b/docs/docsite/rst/user_guide/playbooks_tests.rst @@ -74,7 +74,7 @@ The ``version`` test can also be used to evaluate the ``ansible_distribution_ver {{ ansible_distribution_version is version('12.04', '>=') }} -If ``ansible_distribution_version`` is greater than or equal to 12, this test returns True, otherwise False. +If ``ansible_distribution_version`` is greater than or equal to 12.04, this test returns True, otherwise False. The ``version`` test accepts the following operators::