Skip to content

Commit

Permalink
fix: conditional error when no seed exists
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jackhodgkiss committed Apr 18, 2024
1 parent f00221e commit 62fc1e7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions etc/kayobe/inventory/group_vars/seed-hypervisor/proxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
###############################################################################
# Configuration of HTTP(S) proxies.

# The default value whilst only applied if `http_proxy` and `https_proxy` are set
# will not work as the conditional fails to evaluate if the seed node does not exist.
# This makes the `seed-hypervisor` reliant on the seed node.
no_proxy: []

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes

0 comments on commit 62fc1e7

Please sign in to comment.