mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-01 04:46:10 +00:00
sudo fix
This commit is contained in:
@@ -6,11 +6,13 @@
|
||||
register: downloaded
|
||||
connection: local
|
||||
run_once: yes
|
||||
become: no
|
||||
|
||||
- name: Figure out file source
|
||||
set_fact:
|
||||
compiledsource: "{{ (downloaded.skipped is defined) | ternary(source, downloaded.dest) }}"
|
||||
connection: local
|
||||
become: no
|
||||
|
||||
- name: Extract file to destination
|
||||
when: compiledsource | regex_search('\\.(zip|tar|tar\\.gz|tgz|tb2|tbz|tbz2|tar\\.bz2|txz|tar\\.xz)$')
|
||||
|
||||
Reference in New Issue
Block a user