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 2cd2130
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 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,22 @@
---
###############################################################################
# Configuration of HTTP(S) proxies.

# HTTP proxy URL (format: http(s)://[user:password@]proxy_name:port). By
# default no proxy is used.
#http_proxy:

# HTTPS proxy URL (format: http(s)://[user:password@]proxy_name:port). By
# default no proxy is used.
#https_proxy:

# List of domains, hostnames, IP addresses and networks for which no proxy is
# used. Defaults to ["127.0.0.1", "localhost", "{{ ('http://' ~
# docker_registry) | urlsplit('hostname') }}"] if docker_registry is set, or
# ["127.0.0.1", "localhost"] otherwise. This is configured only if either
# http_proxy or https_proxy is set.
no_proxy: []

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

0 comments on commit 2cd2130

Please sign in to comment.