This commit is contained in:
Fabio Sinibaldi 2025-09-10 14:43:19 +02:00
parent e4e18ade6e
commit f99e3958d5
6 changed files with 15 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,10 @@
---
- hosts: all
gather_facts: False
connection: local
tasks:
- name: ping
shell: ping -c 1 -W 2 {{ ansible_host }}

View File

@ -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

View File

@ -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