mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixing incorrect use of version_compare in docker integration test
This commit is contained in:
parent
b9e07c8dd7
commit
bd4f7fca27
1 changed files with 2 additions and 2 deletions
|
@ -7,11 +7,11 @@
|
||||||
package:
|
package:
|
||||||
state: present
|
state: present
|
||||||
name: nmap-ncat
|
name: nmap-ncat
|
||||||
when: ansible_distribution == 'Fedora' or (ansible_os_family == 'RedHat' and ansible_distribution_version|version_compare('>=', 7))
|
when: ansible_distribution == 'Fedora' or (ansible_os_family == 'RedHat' and ansible_distribution_version|version_compare(7, '>='))
|
||||||
|
|
||||||
- name: Install netcat (RHEL)
|
- name: Install netcat (RHEL)
|
||||||
package:
|
package:
|
||||||
state: present
|
state: present
|
||||||
name: nc
|
name: nc
|
||||||
when: ansible_distribution != 'Fedora' and (ansible_os_family == 'RedHat' and ansible_distribution_version|version_compare('<', 7))
|
when: ansible_distribution != 'Fedora' and (ansible_os_family == 'RedHat' and ansible_distribution_version|version_compare(7, '<'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue