papanito / ansible-role-cloudflared

This ansible role does download and install cloudflared on the host and optionally installs the argo-tunnel as a service.
Apache License 2.0
51 stars 13 forks source link

Remove unmanaged tunnels (by default) #18

Closed jordemort closed 3 years ago

jordemort commented 3 years ago

This adds an option called remove_unmanaged_tunnels, which defaults to true. When it is true, if any tunnel configurations are found which aren't currently defined in tunnels, it will stop and disable any associated systemd service and remove the configurations file.

papanito commented 3 years ago

@jordemort thanks a lot, not sure if this is needed anymore, I implemented #17 which removes unused tunnels

jordemort commented 3 years ago

@papanito Yes, thanks, it looks like https://github.com/papanito/ansible-role-cloudflared/pull/22 accomplishes the same thing