Only setup/cleanup yaml config for servers (#272)

Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
Derek Nola authored and GitHub committed 2023-12-06 13:55:32 -08:00
1 parent 9998f503b4
commit 1c11767619
5 files changed
+24 -17

No files matched your search

+5
View File
@@ -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