mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-19 14:57:43 -02:30
bootstrap-os: use the systemd module to stop and mask locksmithd
This commit is contained in:
@@ -46,6 +46,9 @@
|
|||||||
PATH: "{{ ansible_env.PATH }}:{{ bin_dir }}"
|
PATH: "{{ ansible_env.PATH }}:{{ bin_dir }}"
|
||||||
|
|
||||||
- name: Bootstrap | Disable auto-upgrade
|
- name: Bootstrap | Disable auto-upgrade
|
||||||
shell: "systemctl stop locksmithd.service && systemctl mask --now locksmithd.service"
|
systemd:
|
||||||
|
name: locksmithd.service
|
||||||
|
masked: true
|
||||||
|
state: stopped
|
||||||
when:
|
when:
|
||||||
- not coreos_auto_upgrade
|
- not coreos_auto_upgrade
|
||||||
|
|||||||
Reference in New Issue
Block a user