fix user switch

master
Michael Wilson 3 years ago
parent 9b84a7f3ea
commit e1ce837059
  1. 4
      hetzner/autoinstall/tasks/unlock.yml

@ -23,5 +23,5 @@
- name: set ansible_user
set_fact:
ansible_ssh_user: "{{ bootstrap_user|default('root') }}"
when: connection_test is succeeded
ansible_ssh_user: "{{ ansible_user }}"
when: connection_test.rc == 0

Loading…
Cancel
Save