Skip to content

Commit

Permalink
Added user check
Browse files Browse the repository at this point in the history
  • Loading branch information
usma0118 committed Oct 31, 2024
1 parent 942b9ea commit 5125c16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion playbooks/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
fail_msg: "User variable could not be determined."
- name: Print the determined ansible user

Check failure on line 15 in playbooks/alpine.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

fqcn[action-core]

Use FQCN for builtin module actions (debug).
debug:
msg: "Ansible user is {{ user }}"
msg:
- "Ansible user is {{ user }}"
- "ansible_user: {{ ansible_user | default('undefined') }}"
- "Environment USER: {{ lookup('env', 'USER') | default('undefined') }}"

roles:
- role: common
Expand Down

0 comments on commit 5125c16

Please sign in to comment.