mirror of https://github.com/Aidaho12/haproxy-wi
ansible: fix install tasks for Debian/Ubuntu (part 2)
parent
9896a5ee62
commit
89b6ed2bb4
|
@ -8,7 +8,7 @@
|
||||||
- name: Keepalived has already installed
|
- name: Keepalived has already installed
|
||||||
debug:
|
debug:
|
||||||
msg: "Keepalived has already installed"
|
msg: "Keepalived has already installed"
|
||||||
when: is_installed.results|selectattr("yumstate", "match", "installed")|list|length != 0
|
when: (ansible_facts['os_family'] == "RedHat") or (ansible_facts['os_family'] == 'CentOS') and is_installed.results|selectattr("yumstate", "match", "installed")|list|length != 0
|
||||||
|
|
||||||
- name: Exiting
|
- name: Exiting
|
||||||
meta: end_play
|
meta: end_play
|
||||||
|
|
Loading…
Reference in New Issue