Files
fedora-infra_ansible/roles/ipa/client/tasks/vpn.yml
Nils Philippsen 05f399851e 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>
2021-04-02 00:13:18 +02:00

11 lines
250 B
YAML

---
- name: Install /etc/hosts for VPN clients
when: "(vpn | default(false)) and (datacenter | default('iad2')) != 'iad2'"
include_role:
name: hosts
apply:
tags:
- ipa/client
- config
- vpn-client-enablement