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

8 lines
180 B
YAML
Raw Permalink Normal View History

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