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

Fix: PPA change / 'does not have a Release file' issue #60

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions tasks/setup.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
---
- name: Add Cloudflare key
apt_key:
url: 'https://pkg.cloudflare.com/pubkey.gpg'
url: 'https://pkg.cloudflare.com/cloudflare-main.gpg'

- name: Add Cloudflare PPA
apt_repository:
repo: 'deb http://pkg.cloudflare.com/ xenial main'
repo: 'deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared jammy main'
Copy link

Choose a reason for hiding this comment

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

Thank you!

However I had to amend the following for this to work for me:

- name: Add Cloudflare PPA
  apt_repository:
    repo: 'deb http://pkg.cloudflare.com/cloudflared jammy main'


- name: Install cloudflared
apt:
name: cloudflared
update_cache: yes
cache_valid_time: "{{ apt_cache_valid_time }}"

- name: Install CFCA
apt:
Expand All @@ -14,7 +20,7 @@
update_cache: yes
cache_valid_time: "{{ apt_cache_valid_time }}"

- name: Create directoriy and set permission
- name: Create directory and set permission
file:
path: "{{ nginx_ssl_path }}/cloudflare-origin-ca"
mode: '0700'
Expand Down