initial commit; add machine-test.yml
This commit is contained in:
17
machine-test.yml
Normal file
17
machine-test.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
- name: Tests machine connections via Ansible Tower/Ansible Automation Platform
|
||||||
|
hosts: all
|
||||||
|
gather_facts: no
|
||||||
|
become: no
|
||||||
|
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: "Test #1 - whoami"
|
||||||
|
command:
|
||||||
|
cmd: whoami
|
||||||
|
register: r_cmd_whoami
|
||||||
|
|
||||||
|
|
||||||
|
- name: "Results #1 - whoami"
|
||||||
|
debug:
|
||||||
|
var: r_cmd_whoami.stdout
|
Reference in New Issue
Block a user