add wg_hub role with fixed ansible-lint errors
This commit is contained in:
13
roles/wg_hub/molecule/default/verify.yml
Normal file
13
roles/wg_hub/molecule/default/verify.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
- 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
|
||||
Reference in New Issue
Block a user