This commit is contained in:
parent
8c928163d3
commit
cdf71aec07
@ -44,11 +44,14 @@
|
||||
command: journalctl --all --unit=k3s-init.service
|
||||
changed_when: False
|
||||
register: __k3s_init_log
|
||||
|
||||
- name: Save k3s-init logs
|
||||
copy:
|
||||
content: "{{ __k3s_init_log.stdout }}"
|
||||
dest: "{{ k3s_log_dir }}/k3s-init.log"
|
||||
mode: 0640
|
||||
when: k3s_init_log_enabled | bool
|
||||
|
||||
- name: Kill the temporary service used for initialization
|
||||
systemd:
|
||||
name: k3s-init
|
||||
|
Loading…
Reference in New Issue
Block a user