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