virthost: only do vpn when it's set.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
312e933c89
commit
680a4a3eef
2 changed files with 2 additions and 1 deletions
|
@ -1,2 +1,3 @@
|
|||
---
|
||||
virthost: true
|
||||
vpn: true
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
- collectd/base
|
||||
- { role: iscsi_client, when: "inventory_hostname.startswith(('bvirthost', 'buildvmhost'))" }
|
||||
- sudo
|
||||
- { role: openvpn/client, when: datacenter != "phx2" or datacenter != "cloud" }
|
||||
- { role: openvpn/client, when: vpn }
|
||||
- virthost
|
||||
|
||||
tasks:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue