feat(cloudflared): add cloudflared_tunnel_lookup_delay input
The tunnel lookup retries a 404 three times, 5 seconds apart, before it trusts it. The new input sets that delay (default 5, as before), and validate.yml refuses a negative value. The Molecule failure cases pass 0: the stub API answers at once, and the three retries still run. Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
1 parent
6e3ea4521b
commit
1048628cc4
8 files changed
+29
-2
No files matched your search
@@ -17,6 +17,8 @@ cloudflared_config_dir: "/etc/cloudflared"
|
||||
cloudflared_service_unit: "/etc/systemd/system/cloudflared.service"
|
||||
|
||||
cloudflared_api_base_url: "https://api.cloudflare.com/client/v4"
|
||||
# Seconds between the three retries of a 404 from the tunnel lookup.
|
||||
cloudflared_tunnel_lookup_delay: 5
|
||||
|
||||
cloudflared_tunnel_name: "{{ inventory_hostname }}-tunnel"
|
||||
|
||||
|
||||
Reference in new issue
Block a user