Update loadbalancer deployment
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
a16013a8a1
commit
cfa8180c18
1 changed files with 6 additions and 4 deletions
|
|
@ -1,12 +1,11 @@
|
|||
---
|
||||
- name: Install needed packages
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
update_cache: yes
|
||||
with_items:
|
||||
name:
|
||||
- keepalived
|
||||
- curl
|
||||
state: present
|
||||
update_cache: yes
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue