ping all
This commit is contained in:
parent
e4e18ade6e
commit
f99e3958d5
|
|
@ -2,6 +2,5 @@ prox1_lab_hosts:
|
|||
children:
|
||||
front:
|
||||
hosts:
|
||||
prox1:
|
||||
ansible_host: 146.48.108.11
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
prox1_lab_edge:
|
||||
ansible_host: 146.48.108.11
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
---
|
||||
- import_playbook: ping_all.yaml
|
||||
- name: Basic check nodes
|
||||
hosts: all
|
||||
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
|
||||
wait_for: host=1.1.1.1 timeout=1
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#SPDX-License-Identifier: MIT-0
|
||||
---
|
||||
- hosts: localhost
|
||||
remote_user: root
|
||||
roles:
|
||||
- docker
|
||||
|
|
|
|||
Loading…
Reference in New Issue