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

login steps hangs without showing URL #72

Open hmoffatt opened 1 week ago

hmoffatt commented 1 week ago

The role runs cloudflared login which hangs until the certificate is issued, but there's no way to see the authorization URL to make this happen.

hmoffatt commented 6 days ago

I'm not even sure this can be solved, as ansible doesn't have a mechanism for it, and cloudflared insists on waiting for the authorization within the same process, rather than being able to print the URL, exit and then go back for it later.