* refactor!: flux is required again Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: delimiter that chomps Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: bootstrap_cloudflare logic Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update tests Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: remove last quote Signed-off-by: Devin Buhl <devin@buhl.casa> * chore: update readme Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
25 lines
588 B
YAML
25 lines
588 B
YAML
---
|
|
- name: Cluster kube-vip
|
|
hosts: controllers
|
|
serial: 1
|
|
become: true
|
|
gather_facts: true
|
|
any_errors_fatal: true
|
|
pre_tasks:
|
|
- name: Pausing for 5 seconds...
|
|
ansible.builtin.pause:
|
|
seconds: 5
|
|
tasks:
|
|
- name: Ensure Kubernetes is running
|
|
ansible.builtin.include_role:
|
|
name: xanmanning.k3s
|
|
public: true
|
|
vars:
|
|
k3s_state: started
|
|
|
|
- name: Upgrade kube-vip
|
|
ansible.builtin.template:
|
|
src: templates/kube-vip-ds.yaml.j2
|
|
dest: "{{ k3s_server_manifests_dir }}/kube-vip-ds.yaml"
|
|
mode: preserve
|