More generic name for lab host

This commit is contained in:
2024-02-11 17:11:45 -08:00
parent a5ef9dac70
commit 6ead2106c5
32 changed files with 163 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
---
- hosts: lab
tasks:
- name: Normal Echo
command: echo Quick test of an echo
register: normal_echo
- debug:
var: normal_echo.stdout
- name: Checking Sudo access
become: yes
command: echo One more test with sudo this time
register: sudo_echo
- debug:
var: sudo_echo.stdout
- debug:
var: sudo_echo.stderr