mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-25 12:15:51 +01:00
Bugfix registry
This commit is contained in:
parent
6d1a5f812b
commit
a2e035cd1c
@ -7,4 +7,5 @@
|
||||
mode: "{{ directory.mode | default(0755) }}"
|
||||
become: "{{ k3s_become_for_directory_creation | ternary(true, false, k3s_become_for_all) }}"
|
||||
when: directory.path is defined
|
||||
and directory.path | length > 0
|
||||
and directory.path != omit
|
||||
|
@ -102,7 +102,7 @@ k3s_ensure_directories_exist:
|
||||
- name: Default local storage path
|
||||
path: "{{ k3s_runtime_config['default-local-storage-path'] | default(omit) }}"
|
||||
- name: Private registry config file
|
||||
path: "{{ k3s_runtime_config['private-registry'] | default(omit) }}"
|
||||
path: "{{ (k3s_runtime_config['private-registry'] | default(omit)) | dirname }}"
|
||||
|
||||
# Config items that should not appear in k3s_server or k3s_agent
|
||||
k3s_config_exclude:
|
||||
|
Loading…
Reference in New Issue
Block a user