mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
Docsite formatting fix.
This commit is contained in:
parent
5de34fca22
commit
b0648fda0b
1 changed files with 2 additions and 2 deletions
|
@ -216,9 +216,9 @@ Version Comparison Filters
|
||||||
.. versionadded:: 1.6
|
.. versionadded:: 1.6
|
||||||
|
|
||||||
To compare a version number, such as checking if the ``ansible_distribution_version``
|
To compare a version number, such as checking if the ``ansible_distribution_version``
|
||||||
version is greater than or equal to '12.04', you can use the ``version_compare`` filter::
|
version is greater than or equal to '12.04', you can use the ``version_compare`` filter.
|
||||||
|
|
||||||
The `version_compare` filter can also be used to evaluate the `ansible_distribution_version`::
|
The ``version_compare`` filter can also be used to evaluate the ``ansible_distribution_version``::
|
||||||
|
|
||||||
{{ ansible_distribution_version | version_compare('12.04', '>=') }}
|
{{ ansible_distribution_version | version_compare('12.04', '>=') }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue