14 lines
269 B
YAML
14 lines
269 B
YAML
---
|
|
- name: Verify
|
|
hosts: all
|
|
gather_facts: false
|
|
any_errors_fatal: true
|
|
vars:
|
|
iface_name: adm
|
|
|
|
tasks:
|
|
- name: "Check that the Wireguard service is running"
|
|
ansible.builtin.service:
|
|
name: wg-quick@{{ iface_name }}
|
|
state: started
|