From 3f0d5bc351024339f719dafae94b53860e784b59 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 23 Feb 2022 12:54:59 -0800 Subject: [PATCH] Fix LooseVersion and StrictVersion refs in docs. --- docs/docsite/rst/user_guide/playbooks_tests.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docsite/rst/user_guide/playbooks_tests.rst b/docs/docsite/rst/user_guide/playbooks_tests.rst index c35da2c01a0..e577268c6ed 100644 --- a/docs/docsite/rst/user_guide/playbooks_tests.rst +++ b/docs/docsite/rst/user_guide/playbooks_tests.rst @@ -159,7 +159,7 @@ The ``version`` test accepts the following operators <, lt, <=, le, >, gt, >=, ge, ==, =, eq, !=, <>, ne -This test also accepts a 3rd parameter, ``strict`` which defines if strict version parsing as defined by ``distutils.version.StrictVersion`` should be used. The default is ``False`` (using ``distutils.version.LooseVersion``), ``True`` enables strict version parsing +This test also accepts a 3rd parameter, ``strict`` which defines if strict version parsing as defined by ``ansible.module_utils.compat.version.StrictVersion`` should be used. The default is ``False`` (using ``ansible.module_utils.compat.version.LooseVersion``), ``True`` enables strict version parsing .. code-block:: yaml+jinja