Basic connectivity checks
This commit is contained in:
parent
4dcc0c8b23
commit
781303f62d
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: Basic check nodes
|
||||
hosts: all
|
||||
roles:
|
||||
- role: common
|
||||
roles:
|
||||
- common
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
Loading…
Reference in New Issue