|
@@ -46,7 +46,8 @@
|
|
|
# (this last one is because roxctl creates a cluster record but leaves its status at null until services check in)
|
|
|
|
|
|
# step 1: we could have lots of fun (authentication in place)
|
|
|
-- include_tasks:
|
|
|
+- name: check for missing init bundles
|
|
|
+ include_tasks:
|
|
|
file: init-bundles.yml
|
|
|
when:
|
|
|
- clusters[cluster].method in ['operator', 'helm']
|
|
@@ -55,7 +56,8 @@
|
|
|
# no init bundles for method 'roxctl'
|
|
|
|
|
|
# step 2: there's so much we can do (not really, just make sure artifacts are either present or created)
|
|
|
-- include_tasks:
|
|
|
+- name: use corresponding method to provision the cluster
|
|
|
+ include_tasks:
|
|
|
file: "{{ clusters[cluster].method }}.yml"
|
|
|
when:
|
|
|
- not cluster_found
|
|
@@ -147,6 +149,8 @@
|
|
|
namespace: "{{ item.namespace }}"
|
|
|
state: absent
|
|
|
loop:
|
|
|
+ - name: machine-api-operator
|
|
|
+ namespace: openshift-machine-api
|
|
|
- name: cluster-autoscaler-operator
|
|
|
namespace: openshift-machine-api
|
|
|
- name: cluster-baremetal-operator
|
|
@@ -155,6 +159,8 @@
|
|
|
namespace: openshift-cluster-storage-operator
|
|
|
- name: csi-snapshot-controller
|
|
|
namespace: openshift-cluster-storage-operator
|
|
|
+ - name: cluster-monitoring-operator
|
|
|
+ namespace: openshift-monitoring
|
|
|
when:
|
|
|
- (pending_pods.resources | length) > 0
|
|
|
- pending_pods.resources[0].metadata.labels.app == 'collector'
|