Skip to content

Commit 5a3553c

Browse files
committed
Reorder ORC install
1 parent 6010ca1 commit 5a3553c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

roles/clusterapi/tasks/main.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
---
22

3-
- name: Install OpenStack Resource Controller resources
4-
ansible.builtin.command: kubectl apply --server-side -f {{ clusterapi_orc_components }}
5-
register: kubectl_install_orc
6-
changed_when: kubectl_install_orc.stdout_lines | select('match', '(?!.*unchanged$)') | length > 0
7-
83
- name: Make kustomization directory
94
file:
105
path: "{{ clusterapi_kustomization_directory }}"
@@ -42,6 +37,10 @@
4237
loop_var: watch
4338
label: "{{ watch.namespace }}/{{ watch.kind }}/{{ watch.name }}"
4439

40+
- name: Install OpenStack Resource Controller resources
41+
ansible.builtin.command: >-
42+
kubectl apply --server-side -f {{ clusterapi_orc_components }}
43+
4544
- name: Install Cluster API addon provider
4645
kubernetes.core.helm:
4746
chart_ref: "{{ clusterapi_addon_provider_chart_name }}"

0 commit comments

Comments
 (0)