added a test

This commit is contained in:
Brayden Schultz
2025-07-30 11:53:53 +09:30
parent 4597d3125e
commit 889972c2c3

13
test.yml Normal file
View File

@@ -0,0 +1,13 @@
---
- name: Test SSH and sudo
hosts: all
become: yes
tasks:
- name: Who am I?
command: whoami
register: whoami_result
- name: Show result
debug:
var: whoami_result.stdout