mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 02:44:40 +08:00
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>
11 lines
250 B
YAML
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
|