Remove tempdir if download fails
This commit is contained in:
parent
47fe27ee90
commit
d24657ee85
|
@ -7,17 +7,17 @@
|
||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
|
|
||||||
- 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"
|
|
||||||
delegate_to: localhost
|
|
||||||
run_once: True
|
|
||||||
|
|
||||||
|
|
||||||
- name: "(Block) Install terminfo dir and file"
|
- name: "(Block) Install terminfo dir and file"
|
||||||
block:
|
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"
|
||||||
|
delegate_to: localhost
|
||||||
|
run_once: True
|
||||||
|
|
||||||
|
|
||||||
- name: Create terminfo dir
|
- name: Create terminfo dir
|
||||||
file:
|
file:
|
||||||
path: /usr/share/terminfo/x/
|
path: /usr/share/terminfo/x/
|
||||||
|
|
Loading…
Reference in a new issue