feat: cluster rollout update playbook & use new cmd for taskfiles (#829)

This commit is contained in:
Devin Buhl authored and GitHub committed 2023-07-04 18:37:24 -04:00
1 parent fd1590efcc
commit 07eb228b34
4 files changed
+110 -37

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
---
- name: Cluster kube-vip
hosts: master
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-static-pod.yaml.j2
dest: "{{ k3s_server_pod_manifests_dir }}/kube-vip-static-pod.yaml"
mode: preserve