diff --git a/playbooks/airship-airshipctl-functional-existing-k8s.yaml b/playbooks/airship-airshipctl-functional-existing-k8s.yaml index d116fbeb5..fe04a41b3 100644 --- a/playbooks/airship-airshipctl-functional-existing-k8s.yaml +++ b/playbooks/airship-airshipctl-functional-existing-k8s.yaml @@ -34,6 +34,6 @@ - name: "airshipctl kubectl version" shell: | set -ex - airshipctl kubectl version + kubectl version args: chdir: "{{ zuul.project.src_dir }}" diff --git a/roles/airshipctl-deploy-ephemeral-node/tasks/main.yaml b/roles/airshipctl-deploy-ephemeral-node/tasks/main.yaml index 458807e08..62ff79921 100644 --- a/roles/airshipctl-deploy-ephemeral-node/tasks/main.yaml +++ b/roles/airshipctl-deploy-ephemeral-node/tasks/main.yaml @@ -16,9 +16,9 @@ - name: check airshipctl kubectl version command: >- - timeout 20 airshipctl \ + timeout 20 kubectl \ --kubeconfig {{ airshipctl_config_dir_default | default(ansible_env.HOME) }}/.airship/kubeconfig \ - kubectl version + version register: airship_kubecofig_version retries: 50 delay: 20