updated and added become_method

This commit is contained in:
Brayden Schultz
2025-07-30 11:58:47 +09:30
parent 889972c2c3
commit febb354e5c

View File

@@ -2,6 +2,7 @@
- name: Test SSH and sudo - name: Test SSH and sudo
hosts: all hosts: all
become: yes become: yes
become_method: sudo
tasks: tasks:
- name: Who am I? - name: Who am I?
command: whoami command: whoami