change the register name ansible did not like the name.

This commit is contained in:
Justin committed 2025-01-26 01:27:58 +00:00
1 parent 267eecfda9
commit 001012436b
1 file changed
+2 -2
+2 -2
View File
@@ -20,9 +20,9 @@
- name: check before cleanup - name: check before cleanup
ansible.builtin.stat: ansible.builtin.stat:
path: cloudflared.deb path: cloudflared.deb
register: cloudflared-file register: cloudflaredfile
- name: Cleanup - name: Cleanup
when: cloudflared-file.stat.exists when: cloudflaredfile.stat.exists
ansible.builtin.command: ansible.builtin.command:
cmd: "rm cloudflared.deb" cmd: "rm cloudflared.deb"