Add ping.yml

This commit is contained in:
2026-02-14 22:12:03 +01:00
commit 07b15ac052

13
ping.yml Normal file
View File

@@ -0,0 +1,13 @@
- name: Ping site
shell: |
if [[ "$(uname)" == "Darwin" ]]; then
ping -c 1 -t 2 semaphoreui.com
else
ping -c 1 -w 2 semaphoreui.com
fi
register: ping_result
- name: Ping result
debug:
msg: "{{ ping_result.stdout_lines }}"