Basic connectivity checks

This commit is contained in:
Fabio Sinibaldi 2025-04-04 17:49:23 +02:00
parent 4dcc0c8b23
commit 781303f62d
4 changed files with 12 additions and 19 deletions

View File

@ -1,5 +1,5 @@
---
- name: Basic check nodes
hosts: all
roles:
- role: common
roles:
- common

View File

@ -1,7 +0,0 @@
---
- name: Check node up
ansible.builtin.ping:
- name: Check public network access
ansible.netcommon.net_ping:
dest: 8.8.8.8

View File

@ -0,0 +1,9 @@
---
- name: Check node up
ansible.builtin.ping:
#- name: Check internal DNS
# wait_for: host=edge.home.arpa port=53 timeout=1
- name: Check access to Internet
wait_for: host=1.1.1.1 timeout=1

View File

@ -1,11 +1,2 @@
---
- name: Ping node
ansible.builtin.ping:
- name: Check internal DNS
ansible.netcommon.net_ping:
dest: edge.home.arpa
- name: Check access to WAN
ansible.netcommon.net_ping:
dest: 1.1.1.1
- import_tasks: connectivity.yml