8 lines
163 B
YAML
8 lines
163 B
YAML
---
|
|
- hosts: all
|
|
gather_facts: yes
|
|
tasks:
|
|
- name: ping
|
|
command: "ping -c3 {{ hostvars[item].wireguard_ip }}"
|
|
with_items: "{{ groups['all'] }}"
|