From 7caf443b3511e53779ae83abb24a86c81e05d9c0 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Sun, 14 Apr 2024 18:31:59 -0500 Subject: [PATCH] Add draft roles for cloudflared and tailscale --- roles/cloudflared/defaults/main.yaml | 10 +++++++ roles/cloudflared/files/cloudflare-main.gpg | Bin 0 -> 640 bytes roles/cloudflared/tasks/Debian.yaml | 14 +++++++++ roles/cloudflared/tasks/install.yaml | 5 ++++ roles/cloudflared/tasks/main.yaml | 28 ++++++++++++++++++ roles/cloudflared/vars/default.yaml | 0 roles/tailscale/defaults/main.yaml | 10 +++++++ roles/tailscale/tasks/Debian.yaml | 13 ++++++++ roles/tailscale/tasks/configure.yaml | 11 +++++++ roles/tailscale/tasks/default.yaml | 0 roles/tailscale/tasks/install.yaml | 5 ++++ roles/tailscale/tasks/main.yaml | 31 ++++++++++++++++++++ roles/tailscale/vars/default.yaml | 0 13 files changed, 127 insertions(+) create mode 100644 roles/cloudflared/defaults/main.yaml create mode 100644 roles/cloudflared/files/cloudflare-main.gpg create mode 100644 roles/cloudflared/tasks/Debian.yaml create mode 100644 roles/cloudflared/tasks/install.yaml create mode 100644 roles/cloudflared/tasks/main.yaml create mode 100644 roles/cloudflared/vars/default.yaml create mode 100644 roles/tailscale/defaults/main.yaml create mode 100644 roles/tailscale/tasks/Debian.yaml create mode 100644 roles/tailscale/tasks/configure.yaml create mode 100644 roles/tailscale/tasks/default.yaml create mode 100644 roles/tailscale/tasks/install.yaml create mode 100644 roles/tailscale/tasks/main.yaml create mode 100644 roles/tailscale/vars/default.yaml diff --git a/roles/cloudflared/defaults/main.yaml b/roles/cloudflared/defaults/main.yaml new file mode 100644 index 0000000..ffcb8ab --- /dev/null +++ b/roles/cloudflared/defaults/main.yaml @@ -0,0 +1,10 @@ +--- +cloudflared_package_name: cloudflared +cloudflared_package_state: present + +cloudflared_service_name: cloudflared.service +cloudflared_service_enabled: true +cloudflared_service_state: started + +cloudflared_apt_repository_repo: "deb [signed-by=/etc/apt/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared {{ ansible_lsb.codename }} main" +cloudflared_apt_repository_state: present \ No newline at end of file diff --git a/roles/cloudflared/files/cloudflare-main.gpg b/roles/cloudflared/files/cloudflare-main.gpg new file mode 100644 index 0000000000000000000000000000000000000000..8ff068c49fa9fdf5c2e0d9be916871bcfc48accb GIT binary patch literal 640 zcmV-`0)PFP0SyFH$u%_r2msl(DSo^TW}&J)KF6B89c9g|tES{(0NG1M)|VOGW{-kq zWf~&b+dNw)X}IQ(BGZ5_4%&(Ea4QAgEP#4CAdOEN^4beMNbGs;$^OlVg*2jAE9>{D zkO}gkrt=Pj*B$l+hmPGFnYU#}8iplAqRUnYnCA(ZgREoe9T>g*S@lF3+l($(fM-5h zSKcm-HVKpmB1L3o513Zq~-`nrSP)(xT}1 z1V~R#qrWJ7>~jh=+a~}K0RRECGec}|b!0|tVRB_4Q*UN;cVTj6AW&grYhh<;Zf77o zXk~10Kx1rgb!292VRB_IV{dIfi2*nS69EDMA_W3e$u%_s8v_Ol2?z%R0tOWb0tpHW z1Qr4V0RkQY0vCV)3JDM;OF12ktjqWZs|Wy%s$9oP+!7)5gP-_O7M9bTF)HFR3kL17 zC_{H=4O^r|@q5Gv*A|^7#Qbp$^o^Fa