19 lines
408 B
YAML
19 lines
408 B
YAML
|
---
|
||
|
# INstall wireguard to comply with pihole dns proxy
|
||
|
- name: Install wireguard server on launched hosts
|
||
|
hosts: launched
|
||
|
remote_user: admin
|
||
|
become: true
|
||
|
vars_prompt:
|
||
|
- name: vpn_clients
|
||
|
prompt: Number of vpn clients to be generated
|
||
|
default: 10
|
||
|
private: no
|
||
|
vars:
|
||
|
vpn_network: '10.100.100'
|
||
|
vpn_port: '58172'
|
||
|
use_pihole_templates: true
|
||
|
roles:
|
||
|
- wireguard_server
|
||
|
|