Skip to content

Commit

Permalink
fix: fixing k3s uninstallation failures when k3s is installed via air…
Browse files Browse the repository at this point in the history
…gap role (#384)

Signed-off-by: SakshamAbhi <[email protected]>
Co-authored-by: sgarg <[email protected]>
  • Loading branch information
SakshamAbhi and sgarg authored Dec 27, 2024
1 parent 2a5a89a commit e360388
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/airgap/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
skip: true

- name: Run K3s Install [server]
when: inventory_hostname in groups['server']
ansible.builtin.command:
cmd: /usr/local/bin/k3s-install.sh
environment:
Expand All @@ -105,6 +106,7 @@
changed_when: true

- name: Run K3s Install [agent]
when: inventory_hostname in groups['agent']
ansible.builtin.command:
cmd: /usr/local/bin/k3s-install.sh
environment:
Expand Down

0 comments on commit e360388

Please sign in to comment.