From 6ce1f7d893529ad9a830bbce6fd6f1ab901554c0 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Fri, 22 Apr 2022 19:57:46 +0200 Subject: [PATCH] Retry cli_parse with different collection --- playbook.yml | 2 +- requirements.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/playbook.yml b/playbook.yml index 450d739..856b4e3 100644 --- a/playbook.yml +++ b/playbook.yml @@ -138,7 +138,7 @@ dest: /var/lib/rancher/k3s/server/manifests/kube-vip.yml - name: Initial node -- Wait for available API - ansible.netcommon.cli_parse: + ansible.utils.cli_parse: command: "curl -k https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443/livez?verbose" parser: name: ansible.utils.json diff --git a/requirements.yml b/requirements.yml index 30c28e8..321f7ba 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,5 +1,4 @@ collections: - ansible.utils -- ansible.netcommon - community.general - community.vmware