aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-01-13 20:40:31 -0800
committerclarkzjw <[email protected]>2023-01-13 20:40:31 -0800
commit5e9e3aa28092ceebbb4ba752208566d7239ad234 (patch)
tree0b04430dc6b32c97106c02614be8f4f98a3cc04b /clarkzjw.cc/config/atlas/ansible/roles
parente7062e722f5c41d2d5ab1dbef85d867b8e3a0bda (diff)
downloadhomelab-5e9e3aa28092ceebbb4ba752208566d7239ad234.tar.gz
ansible: add cloudflared ansible
Diffstat (limited to 'clarkzjw.cc/config/atlas/ansible/roles')
-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)