From e8b155277c9094e5259d92c569a2eccf03418fd9 Mon Sep 17 00:00:00 2001 From: Carlos Camacho Date: Sat, 25 Sep 2021 20:09:28 +0200 Subject: [PATCH] fix: add new line waiting for converge This commit adds a new line so we wait correctly for the cluster to converge. --- kubeinit/roles/kubeinit_okd/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/kubeinit/roles/kubeinit_okd/tasks/main.yml b/kubeinit/roles/kubeinit_okd/tasks/main.yml index ae894f025..d86c2550a 100644 --- a/kubeinit/roles/kubeinit_okd/tasks/main.yml +++ b/kubeinit/roles/kubeinit_okd/tasks/main.yml @@ -112,6 +112,7 @@ ansible.builtin.shell: | openshift-install gather --dir install_dir bootstrap --bootstrap {{ hostvars[groups['extra_nodes'][0]].ansible_host }} \ {% for node in groups['all_controller_nodes'] %}{% raw %} --master {% endraw %}{{ hostvars[node].ansible_host }}{% endfor %} + openshift-install --dir=install_dir/ wait-for bootstrap-complete --log-level info args: executable: /bin/bash