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