Update conditional in Redhat/Debian installation

This commit is contained in:
Jose M 2019-11-05 11:48:31 +01:00
parent f36d8be92e
commit c02885c2ad

View File

@ -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