change the register name ansible did not like the name.
This commit is contained in:
parent
267eecfda9
commit
001012436b
|
@ -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"
|
Loading…
Reference in New Issue