Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pkg.cloudflare.com urls #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

siriusnottin
Copy link

See [pkg.cloudflare.com changes · Issue #719 · cloudflare/cloudflared](cloudflare/cloudflared#719)

- name: Add Cloudflare PPA
apt_repository:
repo: 'deb http://pkg.cloudflare.com/ xenial main'
repo: 'deb http://pkg.cloudflare.com/cloudflared xenial main'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Should we change xenial to something else for ubuntu 20.04?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right, so something like this:

Suggested change
repo: 'deb http://pkg.cloudflare.com/cloudflared xenial main'
repo: 'deb http://pkg.cloudflare.com/cloudflared bullseye main'

I'm not sure if more recent versions of Debian/Ubuntu works as intended while asking for a specific release version. I'm still new to Linux, any thoughts on this?

@fhuyghe
Copy link

fhuyghe commented Aug 19, 2022

Is there any way to test this out through Galaxy? A couple of my projects are on standby until this is fixed and I can't find a way to use anything other than the broken master branch

@tangrufus
Copy link
Member

tangrufus commented Aug 19, 2022

You can install @siriusnottin's version by https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#installing-a-specific-version-of-a-role

Please report back, especially whether we should use xenial or bullseye or something else AND whether it works on a fresh server.

@tangrufus
Copy link
Member

I believe the new ppa doesn't contains the cfca package.

See: #60 (comment)

@fhuyghe
Copy link

fhuyghe commented Aug 22, 2022

Thanks for the help @tangrufus. It did not seem to accept PRs (getting the error fatal: reference is not a tree) but works with my own forked version of the repo.
As you suggested it fails at the "Install CFCA" stage so we'll have to wait as they seem to be working on it.

@tangrufus
Copy link
Member

tangrufus commented Oct 10, 2022

Seems Cloudflare has no ETA on adding back cfca to the ppa and recommands downloading the certs via dashboard.
Anyone know any CLI alternatives to cfca?

See:

@siriusnottin
Copy link
Author

I think you have to use their API if you want to bypass the Cloudflare dashboard now?

See:

@tangrufus
Copy link
Member

tangrufus commented Oct 10, 2022

Yes for the API.
This role is “un-usable” until someone make a cfca alternative.


With the financial crisis brewing, I don’t think I have the luxury to spend time creating one in near future.

Best I can do is to update the readme to document how to use the web dashboard to download the certs and add them to trellis as manual certs.

Thank you everyone for using/debugging this role. Sorry for the disappointment.

@siriusnottin
Copy link
Author

No problem, thanks for your answer!

I'd like to help if I have more time I'll commit once finished if it's embeddable in this repo or a separate project as a bash script maybe depending on what's more convenient and what suits you.

Thank you for your work, I discover ansible recently and I learn little by little as I code not much these days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants