Update conditional in Redhat/Debian installation
This commit is contained in:
parent
f36d8be92e
commit
c02885c2ad
@ -10,7 +10,7 @@
|
|||||||
async: 90
|
async: 90
|
||||||
poll: 30
|
poll: 30
|
||||||
when:
|
when:
|
||||||
- ansible_distribution in ['CentOS','RedHat']
|
- {{ ansible_os_family|lower == "redhat" }}
|
||||||
tags:
|
tags:
|
||||||
- init
|
- init
|
||||||
|
|
||||||
@ -20,7 +20,7 @@
|
|||||||
state: present
|
state: present
|
||||||
cache_valid_time: 3600
|
cache_valid_time: 3600
|
||||||
when:
|
when:
|
||||||
- not (ansible_distribution in ['CentOS','RedHat'])
|
- {{ ansible_os_family|lower != "redhat" }}
|
||||||
tags:
|
tags:
|
||||||
- init
|
- init
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user