ghostelement 2025-04-20 07:22:54 +00:00 committed by GitHub
commit 544ad4eaab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -212,6 +212,11 @@
- k3s_server_location is defined
- k3s_server_location != "/var/lib/rancher/k3s"
block:
- name: Make k3s server directory
ansible.builtin.file:
path: "{{ k3s_server_location }}"
mode: "0755"
state: directory
- name: Make rancher directory
ansible.builtin.file:
path: "/var/lib/rancher"