+ Fixing docs and adding some sane defaults/tests
This commit is contained in:
19
docker-host/setup/tests/test.yml
Normal file
19
docker-host/setup/tests/test.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
- hosts: leftcoastlab
|
||||
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
|
||||
Reference in New Issue
Block a user