Update loadbalancer deployment
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Adrien Reslinger 2021-08-16 00:09:14 +02:00
parent a16013a8a1
commit cfa8180c18
Signed by: adrien
GPG key ID: DA7B27055C66D6DE

View file

@ -1,12 +1,11 @@
---
- name: Install needed packages
package:
name: "{{ item }}"
name:
- keepalived
- curl
state: present
update_cache: yes
with_items:
- keepalived
- curl
notify: Restart keepalived
- name: Install check_apiserver.sh script for keepalived
template:
@ -39,3 +38,6 @@
when:
- not groups['KubernetesMasters'][0] == ansible_hostname
notify: Restart keepalived
- name: Flush handlers
meta: flush_handlers