mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Docsite formatting fix.
This commit is contained in:
committed by
Matt Martz
parent
5de34fca22
commit
b0648fda0b
@@ -216,9 +216,9 @@ Version Comparison Filters
|
||||
.. versionadded:: 1.6
|
||||
|
||||
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', '>=') }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user