serverctl/infrastructure/create-resources/ansible/ping.yml

8 lines
177 B
YAML
Raw Normal View History

2022-02-24 13:57:19 +01:00
---
- hosts: serverctl_mesh_nodes
gather_facts: yes
tasks:
- name: ping
command: "ping -c3 {{ hostvars[item].wireguard_ip}}"
with_items: "{{groups['all']}}"