Skip to content

Commit

Permalink
ansible_facts.user
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Dec 8, 2024
1 parent 1b6f950 commit e43df8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automation/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e43df8b

Please sign in to comment.