mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
fix: fixing k3s uninstallation failures when k3s is installed via airgap role (#384)
Signed-off-by: SakshamAbhi <saksham.garg.988@gmail.com> Co-authored-by: sgarg <s.garg@f5.com>
This commit is contained in:
@@ -97,6 +97,7 @@
|
|||||||
skip: true
|
skip: true
|
||||||
|
|
||||||
- name: Run K3s Install [server]
|
- name: Run K3s Install [server]
|
||||||
|
when: inventory_hostname in groups['server']
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: /usr/local/bin/k3s-install.sh
|
cmd: /usr/local/bin/k3s-install.sh
|
||||||
environment:
|
environment:
|
||||||
@@ -105,6 +106,7 @@
|
|||||||
changed_when: true
|
changed_when: true
|
||||||
|
|
||||||
- name: Run K3s Install [agent]
|
- name: Run K3s Install [agent]
|
||||||
|
when: inventory_hostname in groups['agent']
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: /usr/local/bin/k3s-install.sh
|
cmd: /usr/local/bin/k3s-install.sh
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user