From f9f3ed492ebe46c613413fef76c9605b78fdc371 Mon Sep 17 00:00:00 2001 From: Ryan Hallisey Date: Fri, 25 Jan 2019 10:51:11 -0500 Subject: [PATCH] changed oc create to oc apply in kubevirt-cpu-node-labeller (#585) (#587) (cherry picked from commit c5d34db351b6b60958d6170faedfe5cc6d300180) --- roles/kubevirt-cpu-node-labeller/tasks/provision.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kubevirt-cpu-node-labeller/tasks/provision.yml b/roles/kubevirt-cpu-node-labeller/tasks/provision.yml index e800d2923..c071d39eb 100644 --- a/roles/kubevirt-cpu-node-labeller/tasks/provision.yml +++ b/roles/kubevirt-cpu-node-labeller/tasks/provision.yml @@ -5,7 +5,7 @@ dest: "/tmp/kubevirt-cpu-node-labeller.yaml" - name: Create kubevirt-cpu-node-labeller - shell: "{{ cluster_command }} create -f /tmp/kubevirt-cpu-node-labeller.yaml -n {{ kubevirt_node_labeller_namespace }}" + shell: "{{ cluster_command }} apply -f /tmp/kubevirt-cpu-node-labeller.yaml -n {{ kubevirt_node_labeller_namespace }}" - name: Wait until kubevirt-cpu-node-labeller deamonset is created shell: "{{ cluster_command }} -n {{ kubevirt_node_labeller_namespace }} get ds | grep -o -E kubevirt-cpu-node-labeller | wc -l"