mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2025-12-25 00:12:37 +01:00
Only setup/cleanup yaml config for servers (#272)
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
@@ -26,3 +26,8 @@
|
||||
ansible.builtin.shell:
|
||||
cmd: "rm -rf {{ k3s_server_location }}/*"
|
||||
removes: "{{ k3s_server_location }}/*"
|
||||
- name: Remove K3s config
|
||||
when: server_config_yaml is defined
|
||||
ansible.builtin.file:
|
||||
path: /etc/rancher/k3s/config.yaml
|
||||
state: absent
|
||||
|
||||
Reference in New Issue
Block a user