added test playbook
This commit is contained in:
1 parent
307413f3f2
commit
4db6f0b06f
3 files changed
+17
-172
No files matched your search
@@ -0,0 +1,16 @@
|
||||
---
|
||||
# FILE: playbooks/test_connectivity.yml
|
||||
# Simple test playbook to validate Semaphore can connect and run tasks
|
||||
|
||||
- name: Test connectivity
|
||||
hosts: all
|
||||
gather_facts: true
|
||||
|
||||
tasks:
|
||||
- name: Print hostname
|
||||
ansible.builtin.debug:
|
||||
msg: "Connected to {{ inventory_hostname }} ({{ ansible_hostname }})"
|
||||
|
||||
- name: Print OS info
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ ansible_distribution }} {{ ansible_distribution_version }}"
|
||||
Reference in new issue
Block a user