22 lines
409 B
YAML
22 lines
409 B
YAML
---
|
|
- name: on prem base server config
|
|
hosts: onprem_servers
|
|
tasks:
|
|
- debug: msg="deploying base server config."
|
|
roles:
|
|
- { name: home-net }
|
|
|
|
- name: on prem wg config
|
|
hosts: onprem_servers
|
|
tasks:
|
|
- debug: msg="Deploying wg."
|
|
roles:
|
|
- { name: wg_vpn }
|
|
|
|
- name: cloud wg config
|
|
hosts: vpn
|
|
tasks:
|
|
- debug: msg="Deploying wg to cloud server"
|
|
roles:
|
|
- { name: wg_vpn }
|