mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 14:44:32 +00:00
13 lines
427 B
YAML
13 lines
427 B
YAML
---
|
|
- name: Ensure Kong is present and refreshed (common core)
|
|
ansible.builtin.shell: |
|
|
kubectl config use-context prole-k3s >/dev/null 2>&1 || true
|
|
bash {{ playbook_dir }}/../../etc/init_kong.sh -n {{ k3s_kong_namespace }} update
|
|
environment:
|
|
PROLE_MODE: k3s
|
|
KUBECONFIG: "{{ playbook_dir }}/../../prole-k3s.kubeconfig"
|
|
delegate_to: localhost
|
|
become: false
|
|
register: k3s_kong_install
|
|
run_once: true
|