Skip to content

Commit 62fc1e7

Browse files
committed
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 62fc1e7

File tree

1 file changed

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

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
###############################################################################
3+
# Configuration of HTTP(S) proxies.
4+
5+
# The default value whilst only applied if `http_proxy` and `https_proxy` are set
6+
# will not work as the conditional fails to evaluate if the seed node does not exist.
7+
# This makes the `seed-hypervisor` reliant on the seed node.
8+
no_proxy: []
9+
10+
###############################################################################
11+
# Dummy variable to allow Ansible to accept this file.
12+
workaround_ansible_issue_8743: yes

0 commit comments

Comments
 (0)