Fix act_runner cache host configuration
This commit is contained in:
@@ -42,7 +42,9 @@ cache:
|
||||
# The host of the cache server.
|
||||
# It's not for the address to listen, but the address to connect from job containers.
|
||||
# So 0.0.0.0 is a bad choice, leave it empty to detect automatically.
|
||||
host: "{{ ansible_facts[vault_act_net_interface_name]['ipv4']['address'] }}"
|
||||
# Prefer an explicit override; otherwise use the default routed IPv4 instead of
|
||||
# an arbitrary interface-specific address.
|
||||
host: "{{ vault_act_runner_cache_host | default(ansible_facts.get('default_ipv4', {}).get('address', ansible_facts[vault_act_net_interface_name]['ipv4']['address']), true) }}"
|
||||
# The port of the cache server.
|
||||
# 0 means to use a random available port.
|
||||
port: 8088
|
||||
|
||||
Reference in New Issue
Block a user