Add playbooks/start_wireguard.yml
This commit is contained in:
10
playbooks/start_wireguard.yml
Normal file
10
playbooks/start_wireguard.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- name: start wireguard
|
||||
hosts: wireguard
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- name: start and enable wireguard
|
||||
service:
|
||||
name: wg-quick@wg0
|
||||
state: started
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user