fix linting
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-10-04 10:13:40 +02:00
parent 8c928163d3
commit cdf71aec07
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -44,11 +44,14 @@
command: journalctl --all --unit=k3s-init.service command: journalctl --all --unit=k3s-init.service
changed_when: False changed_when: False
register: __k3s_init_log register: __k3s_init_log
- name: Save k3s-init logs - name: Save k3s-init logs
copy: copy:
content: "{{ __k3s_init_log.stdout }}" content: "{{ __k3s_init_log.stdout }}"
dest: "{{ k3s_log_dir }}/k3s-init.log" dest: "{{ k3s_log_dir }}/k3s-init.log"
mode: 0640
when: k3s_init_log_enabled | bool when: k3s_init_log_enabled | bool
- name: Kill the temporary service used for initialization - name: Kill the temporary service used for initialization
systemd: systemd:
name: k3s-init name: k3s-init