File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
roles/azimuth_capi_operator/tasks Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 51
51
when : azimuth_apps_enabled
52
52
- role : azimuth_cloud.azimuth_ops.azimuth
53
53
54
- # Ensure that Consul is uninstalled
55
54
post_tasks :
55
+ # Ensure that Consul is uninstalled
56
56
- name : Ensure Consul is uninstalled
57
57
ansible.builtin.include_role :
58
58
name : azimuth_cloud.azimuth_ops.consul
59
59
tasks_from : uninstall.yml
60
60
when :
61
61
- consul_server_host is defined
62
62
- consul_server_port is defined
63
+ # Workaround for new services on existing Clusters not getting added
64
+ # to Platforms after upgrades
65
+ - name : Restart CAPI Operator
66
+ ansible.builtin.include_role :
67
+ name : azimuth_cloud.azimuth_ops.azimuth_capi_operator
68
+ tasks_from : restart.yml
69
+ when : azimuth_kubernetes_enabled
70
+
63
71
environment :
64
72
KUBECONFIG : " {{ kubeconfig_path | default('') }}"
Original file line number Diff line number Diff line change
1
+ ---
2
+ - name : Restart deployment
3
+ ansible.builtin.command : " kubectl rollout restart deployment {{ azimuth_capi_operator_release_name }} -n {{ azimuth_capi_operator_release_namespace }}"
4
+ changed_when : true
You can’t perform that action at this time.
0 commit comments