Skip to content

Commit 2cd2130

Browse files
authored
fix: conditional error when no seed exists
In situations where there is no `seed` the `seed-hypervisor` will fail a host configure against `no_proxy` settings due to the conditional attempting to access attributes that do not exist.
1 parent f00221e commit 2cd2130

File tree

1 file changed

+22
-0
lines changed
  • etc/kayobe/inventory/group_vars/seed-hypervisor

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
###############################################################################
3+
# Configuration of HTTP(S) proxies.
4+
5+
# HTTP proxy URL (format: http(s)://[user:password@]proxy_name:port). By
6+
# default no proxy is used.
7+
#http_proxy:
8+
9+
# HTTPS proxy URL (format: http(s)://[user:password@]proxy_name:port). By
10+
# default no proxy is used.
11+
#https_proxy:
12+
13+
# List of domains, hostnames, IP addresses and networks for which no proxy is
14+
# used. Defaults to ["127.0.0.1", "localhost", "{{ ('http://' ~
15+
# docker_registry) | urlsplit('hostname') }}"] if docker_registry is set, or
16+
# ["127.0.0.1", "localhost"] otherwise. This is configured only if either
17+
# http_proxy or https_proxy is set.
18+
no_proxy: []
19+
20+
###############################################################################
21+
# Dummy variable to allow Ansible to accept this file.
22+
workaround_ansible_issue_8743: yes

0 commit comments

Comments
 (0)