fix(ansible): fix lint

This commit is contained in:
Timothy Stewart
2022-08-28 16:42:07 -05:00
parent 611cf5ab0b
commit 47ac514dc6
3 changed files with 17 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
- name: Clean previous runs of k3s-init
command: systemctl reset-failed k3s-init
failed_when: false
changed_when: false
args:
warn: false # The ansible systemd module does not support reset-failed
@@ -58,6 +59,7 @@
until: nodes.rc == 0 and (nodes.stdout.split() | length) == (groups['master'] | length)
retries: "{{ retry_count | default(20) }}"
delay: 10
changed_when: false
always:
- name: Kill the temporary service used for initialization
systemd: