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