Fix connection to act cache internal server
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
image: gitea/act_runner:latest
|
||||
state: present
|
||||
security_opt:
|
||||
# - label=type:container_runtime_t
|
||||
# - label=type:container_runtime_t
|
||||
- label=disable
|
||||
device:
|
||||
- /dev/fuse
|
||||
|
||||
@@ -42,7 +42,7 @@ 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: ""
|
||||
host: "{{ ansible_facts[vault_act_net_interface_name]['ipv4']['address'] }}"
|
||||
# The port of the cache server.
|
||||
# 0 means to use a random available port.
|
||||
port: 8088
|
||||
|
||||
Reference in New Issue
Block a user