added test playbook

This commit is contained in:
2026-03-22 23:47:47 -05:00
parent 307413f3f2
commit 4db6f0b06f
3 changed files with 17 additions and 172 deletions

View File

@@ -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 }}"