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 - hosts: all
tasks: tasks:
- name: get user - name: get user
command: whoami ansible.builtin.command: whoami
register: whoami
# - name: Run whoami without become. # - name: Run whoami without become.
# command: whoami # command: whoami