ping all
This commit is contained in:
parent
e4e18ade6e
commit
f99e3958d5
|
|
@ -2,6 +2,5 @@ prox1_lab_hosts:
|
||||||
children:
|
children:
|
||||||
front:
|
front:
|
||||||
hosts:
|
hosts:
|
||||||
prox1:
|
prox1_lab_edge:
|
||||||
ansible_host: 146.48.108.11
|
ansible_host: 146.48.108.11
|
||||||
ansible_python_interpreter: /usr/bin/python3
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
---
|
---
|
||||||
|
- import_playbook: ping_all.yaml
|
||||||
- name: Basic check nodes
|
- name: Basic check nodes
|
||||||
hosts: all
|
hosts: all
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- hosts: all
|
||||||
|
gather_facts: False
|
||||||
|
connection: local
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
- name: ping
|
||||||
|
shell: ping -c 1 -W 2 {{ ansible_host }}
|
||||||
|
|
||||||
|
|
@ -1,9 +1,3 @@
|
||||||
---
|
---
|
||||||
- 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
|
- name: Check access to Internet
|
||||||
wait_for: host=1.1.1.1 timeout=1
|
wait_for: host=1.1.1.1 timeout=1
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
#SPDX-License-Identifier: MIT-0
|
#SPDX-License-Identifier: MIT-0
|
||||||
---
|
---
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
remote_user: root
|
|
||||||
roles:
|
roles:
|
||||||
- docker
|
- docker
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue