Browse Source

bootstrap-os: use the systemd module to stop and mask locksmithd

pull/4033/head
Markus Teufelberger 5 years ago
parent
commit
87c9a871b9
1 changed files with 4 additions and 1 deletions
  1. 5
      roles/bootstrap-os/tasks/bootstrap-coreos.yml

5
roles/bootstrap-os/tasks/bootstrap-coreos.yml

@ -46,6 +46,9 @@
PATH: "{{ ansible_env.PATH }}:{{ bin_dir }}"
- name: Bootstrap | Disable auto-upgrade
shell: "systemctl stop locksmithd.service && systemctl mask --now locksmithd.service"
systemd:
name: locksmithd.service
masked: true
state: stopped
when:
- not coreos_auto_upgrade
Loading…
Cancel
Save