Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola committed Oct 17, 2024
1 parent ac8f96b commit 5363e02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/airgap/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
ansible.builtin.stat:
path: "{{ airgap_dir + '/k3s-install.sh' }}"
register: host_install_script

- name: Download k3s install script
become: false
delegate_to: localhost
# Workaround for https://github.com/ansible/ansible/issues/64016
when: host_install_script.stat.exists == false
when: not host_install_script.stat.exists
ansible.builtin.get_url:
url: https://get.k3s.io/
timeout: 120
src: "{{ airgap_dir }}/k3s-install.sh"
dest: "{{ airgap_dir }}/k3s-install.sh"
mode: "0755"

- name: Distribute K3s install script
Expand Down

0 comments on commit 5363e02

Please sign in to comment.