Remove tempdir if download fails
This commit is contained in:
parent
47fe27ee90
commit
d24657ee85
|
@ -7,7 +7,10 @@
|
|||
run_once: True
|
||||
|
||||
|
||||
- name: Download actuel kitty terminfo
|
||||
- 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"
|
||||
dest: "{{ kitty_tempdir.path }}/xterm-kitty"
|
||||
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue