Compare commits

...

2 Commits

Author SHA1 Message Date
f4fbae6683 portfolio-performance: Update 0.47.0 -> 0.49.4 2020-12-19 16:48:36 +01:00
00fec0f1c1 Create tempdir only if necessary 2020-12-14 16:00:56 +01:00

View File

@@ -352,19 +352,19 @@
- block: - block:
- name: set portfolio performance version - name: set portfolio performance version
set_fact: set_fact:
portfolio_performace_version: "0.47.0" portfolio_performace_version: "0.49.4"
- name: look of current installation - name: look of current installation
stat: stat:
path: /home/{{ user.name }}/.opt/portfolio-performance-{{ portfolio_performace_version }} path: /home/{{ user.name }}/.opt/portfolio-performance-{{ portfolio_performace_version }}
register: stat_portfolio_performance_installation register: stat_portfolio_performance_installation
- block:
- name: create temporary directory - name: create temporary directory
tempfile: tempfile:
state: directory state: directory
register: tempdir register: tempdir
- block:
- name: download portfolio performance - name: download portfolio performance
get_url: get_url:
url: https://github.com/buchen/portfolio/releases/download/{{ portfolio_performace_version }}/PortfolioPerformance-{{ portfolio_performace_version }}-linux.gtk.x86_64.tar.gz url: https://github.com/buchen/portfolio/releases/download/{{ portfolio_performace_version }}/PortfolioPerformance-{{ portfolio_performace_version }}-linux.gtk.x86_64.tar.gz