This commit is contained in:
alecsandruchirosca
2024-05-02 21:50:40 +03:00
parent c3ab24a1d1
commit c16425ec61

View File

@@ -1,8 +1,7 @@
- hosts: all
tasks:
- name: get user
command: whoami
register: whoami
ansible.builtin.command: whoami
# - name: Run whoami without become.
# command: whoami