Skip to content

Commit

Permalink
Do not setup kubectl when alredy setup
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-at-luther committed May 9, 2024
1 parent 03b6540 commit e770710
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible-roles/kubectl/tasks/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
- kubectl={{kubectl_version}}*
state: present
update_cache: yes
when:
- not kubectl_setup

- name: Complete kubectl setup
set_fact:
Expand Down

0 comments on commit e770710

Please sign in to comment.