ipa/client: Don't apply hosts role on non-VPN hosts
We don't want a custom /etc/hosts installed on every host, so bring back
the conditional.
Improves commit 7a2024398f
.
Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
cdd7d76183
commit
05f399851e
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- name: Install /etc/hosts for VPN clients
|
||||
when: "(vpn | default(false)) and (datacenter | default('iad2')) != 'iad2'"
|
||||
include_role:
|
||||
name: hosts
|
||||
apply:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue