Files
payphone/playbooks/08-scylla-cluster.yml
T

21 lines
592 B
YAML

- name: Set Up Scylla Cluster
hosts: init
become: true
gather_facts: false
tasks:
- name: Set Up ArgoCD Application for Scylla Cluster
kubernetes.core.k8s:
state: present
src: /tmp/k8s/ansible/argo-cd/02-scylla-app.yml
namespace: argocd
kubeconfig: /etc/rancher/k3s/k3s.yaml
- name: Wait for Scylla Cluster Application
ansible.builtin.command: |
kubectl -n scylla rollout status statefulset/{{ item }} --timeout=10m
loop:
- ge-dc1-rack1
- ge-dc1-rack2
- ge-dc1-rack3
changed_when: false