diff --git a/automation/molecule/default/converge.yml b/automation/molecule/default/converge.yml index 82c80398b..aa8690b79 100644 --- a/automation/molecule/default/converge.yml +++ b/automation/molecule/default/converge.yml @@ -19,7 +19,7 @@ become: true become_method: su ansible.builtin.user: - name: "{{ ansible_user }}" + name: "{{ ansible_facts.user | default('root') }}" groups: sudo append: true