mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user