aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'clarkzjw.cc/config/atlas/ansible/roles/cloudflared/tasks')
-rw-r--r--clarkzjw.cc/config/atlas/ansible/roles/cloudflared/tasks/main.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/clarkzjw.cc/config/atlas/ansible/roles/cloudflared/tasks/main.yaml b/clarkzjw.cc/config/atlas/ansible/roles/cloudflared/tasks/main.yaml
new file mode 100644
index 0000000..4d36b58
--- /dev/null
+++ b/clarkzjw.cc/config/atlas/ansible/roles/cloudflared/tasks/main.yaml
@@ -0,0 +1,16 @@
1- name: Add Cloudflared GPG apt Key
2 apt_key:
3 url: https://pkg.cloudflare.com/cloudflare-main.gpg
4 keyring: /usr/share/keyrings/cloudflare-main.gpg
5 state: present
6
7- name: Add Cloudflared Repository
8 apt_repository:
9 repo: deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared {{ ansible_distribution_release | lower }} main
10 state: present
11
12- name: Install Cloudflared
13 apt:
14 name:
15 - cloudflared
16 update_cache: true
Powered by cgit v1.2.3 (git 2.41.0)