bootstrap: Only reboot if user needs to be removed

dehydrated
Felix Stupp 4 years ago
parent 0ff2a5b6bf
commit 2359e5110e
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -10,3 +10,6 @@
- name: Reboot server proper disabling old user - name: Reboot server proper disabling old user
reboot: reboot:
when:
- bootstrap_user != "root"
- bootstrap_user != bootstrap_expected_user

Loading…
Cancel
Save