Remove tempdir if download fails

This commit is contained in:
Sven Velt 2024-07-09 20:48:29 +02:00
parent 47fe27ee90
commit d24657ee85

View file

@ -7,6 +7,9 @@
run_once: True
- name: "(Block) Install terminfo dir and file"
block:
- name: Download actuel kitty terminfo
get_url:
url: "https://github.com/kovidgoyal/kitty/blob/master/terminfo/x/xterm-kitty?raw=true"
@ -15,9 +18,6 @@
run_once: True
- name: "(Block) Install terminfo dir and file"
block:
- name: Create terminfo dir
file:
path: /usr/share/terminfo/x/