init commit
This commit is contained in:
13
playbooks/test.yml
Normal file
13
playbooks/test.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
- name: Semaphore connection test
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- name: Print the hostname
|
||||
command: hostname
|
||||
register: result
|
||||
|
||||
- name: Show result
|
||||
debug:
|
||||
msg: "Connected to {{ inventory_hostname }} (hostname: {{ result.stdout }})"
|
Reference in New Issue
Block a user