fix: fixing k3s uninstallation failures when k3s is installed via airgap role

Signed-off-by: SakshamAbhi <saksham.garg.988@gmail.com>
pull/384/head
sgarg 2024-12-24 18:19:48 +05:30 committed by SakshamAbhi
parent 2a5a89a5ad
commit 61c1450f79
1 changed files with 2 additions and 0 deletions

View File

@ -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:
@ -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: