From 001012436b5d23fec7176770b4126deb2f80e474 Mon Sep 17 00:00:00 2001 From: Justin Date: Sun, 26 Jan 2025 01:27:58 +0000 Subject: [PATCH] change the register name ansible did not like the name. --- update-cloudflace-tunnel.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-cloudflace-tunnel.yaml b/update-cloudflace-tunnel.yaml index 3d1fb6e..63af135 100644 --- a/update-cloudflace-tunnel.yaml +++ b/update-cloudflace-tunnel.yaml @@ -20,9 +20,9 @@ - name: check before cleanup ansible.builtin.stat: path: cloudflared.deb - register: cloudflared-file + register: cloudflaredfile - name: Cleanup - when: cloudflared-file.stat.exists + when: cloudflaredfile.stat.exists ansible.builtin.command: cmd: "rm cloudflared.deb" \ No newline at end of file