From 27c048931f20c13172e07df9ee4a75393f1e0848 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Mon, 3 May 2021 13:30:07 +0700 Subject: [PATCH] Move cloudflared package URL to default var --- infra/modules/vpn/ansible/roles/cloudflared/defaults/main.yml | 1 + infra/modules/vpn/ansible/roles/cloudflared/tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 infra/modules/vpn/ansible/roles/cloudflared/defaults/main.yml diff --git a/infra/modules/vpn/ansible/roles/cloudflared/defaults/main.yml b/infra/modules/vpn/ansible/roles/cloudflared/defaults/main.yml new file mode 100644 index 00000000..7677fddb --- /dev/null +++ b/infra/modules/vpn/ansible/roles/cloudflared/defaults/main.yml @@ -0,0 +1 @@ +cloudflared_package_url: https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-amd64.deb diff --git a/infra/modules/vpn/ansible/roles/cloudflared/tasks/main.yml b/infra/modules/vpn/ansible/roles/cloudflared/tasks/main.yml index 39bac6a6..ed806dc7 100644 --- a/infra/modules/vpn/ansible/roles/cloudflared/tasks/main.yml +++ b/infra/modules/vpn/ansible/roles/cloudflared/tasks/main.yml @@ -1,3 +1,3 @@ - name: Install cloudflared apt: - deb: https://bin.equinox.io/c/VdrWdbjqyF/cloudflared-stable-linux-amd64.deb + deb: "{{ cloudflared_package_url }}"