Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions playbooks/provision_cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- stackhpc.azimuth_ops.infra
vars:
infra_ansible_groups: [k3s, azimuth_deploy]
tags: only_install_caas_templates


# Configure the node as a K3S cluster
Expand Down Expand Up @@ -90,11 +91,11 @@
# Install the Velero components on the capi cluster and configure the backup schedule
# NOTE(sd109): Need to use block so that we can set `environment` variables
- block:
- include_role:
name: stackhpc.azimuth_ops.velero
tasks_from: schedule.yml
- include_role:
name: stackhpc.azimuth_ops.velero
tasks_from: schedule.yml
environment:
KUBECONFIG: "{{ ansible_env.HOME }}/kubeconfig-{{ capi_cluster_release_name }}.yaml"
when: velero_enabled

when: install_mode == 'ha'
2 changes: 1 addition & 1 deletion roles/azimuth_caas_operator/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---

- name: Install Azimuth CaaS operator on target Kubernetes cluster
kubernetes.core.helm:
Expand Down Expand Up @@ -32,6 +31,7 @@
loop_control:
loop_var: template
label: "{{ template.name }}"
tags: only_install_caas_templates

- name: Update secrets for Azimuth CaaS ssh key
command: kubectl apply -f -
Expand Down