diff --git a/ansible-roles/kubectl/tasks/setup.yml b/ansible-roles/kubectl/tasks/setup.yml index e24fb98..bcb3c9e 100644 --- a/ansible-roles/kubectl/tasks/setup.yml +++ b/ansible-roles/kubectl/tasks/setup.yml @@ -42,6 +42,8 @@ - kubectl={{kubectl_version}}* state: present update_cache: yes + when: + - not kubectl_setup - name: Complete kubectl setup set_fact: