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