We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec1be28 commit 5068855Copy full SHA for 5068855
src/roles/essential-vars/tasks/main.yml
@@ -2,16 +2,16 @@
2
# Essential variables role - sets critical variables needed before set-vars runs
3
4
- name: Set OS-specific group_wheel fact
5
- set_fact:
+ ansible.builtin.set_fact:
6
group_wheel: "{% if ansible_os_family == 'RedHat' %}wheel{% else %}sudo{% endif %}"
7
8
- name: Set ansible_user fact with fallbacks
9
10
ansible_user: "{{ ansible_user | default('meza-ansible') }}"
11
12
- name: Debug essential variables
13
- debug:
14
- msg:
+ ansible.builtin.debug:
+ msg:
15
- "group_wheel: {{ group_wheel }}"
16
- "ansible_user: {{ ansible_user }}"
17
- "ansible_env.USER: {{ ansible_env.USER }}"
0 commit comments