mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-01 08:48:50 -03:30
Disable locksmithd on CoreOS if coreos_auto_upgrade set to false (#3088)
* Disable locksmithd on CoreOS if coreos_auto_upgrade set to false * change when format to support multiple-condition
This commit is contained in:
@@ -62,3 +62,8 @@
|
||||
with_items: "{{pip_python_coreos_modules}}"
|
||||
environment:
|
||||
PATH: "{{ ansible_env.PATH }}:{{ bin_dir }}"
|
||||
|
||||
- name: Bootstrap | Disable auto-upgrade
|
||||
shell: "systemctl stop locksmithd.service && systemctl mask --now locksmithd.service"
|
||||
when:
|
||||
- not coreos_auto_upgrade
|
||||
|
||||
Reference in New Issue
Block a user