Do not install portfolio-performance
This commit is contained in:
61
user.yml
61
user.yml
@@ -361,67 +361,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- firefox
|
- firefox
|
||||||
|
|
||||||
- block:
|
|
||||||
- name: look of current installation
|
|
||||||
stat:
|
|
||||||
path: /home/{{ user.name }}/.opt/portfolio-performance-{{ portfolio_performace_version }}
|
|
||||||
register: stat_portfolio_performance_installation
|
|
||||||
|
|
||||||
- block:
|
|
||||||
- name: create temporary directory
|
|
||||||
tempfile:
|
|
||||||
state: directory
|
|
||||||
register: tempdir
|
|
||||||
|
|
||||||
- name: download portfolio performance
|
|
||||||
get_url:
|
|
||||||
url: https://github.com/buchen/portfolio/releases/download/{{ portfolio_performace_version }}/PortfolioPerformance-{{ portfolio_performace_version }}-linux.gtk.x86_64.tar.gz
|
|
||||||
dest: "{{ tempdir.path }}/PortfolioPerformance.{{ portfolio_performace_version }}.tar.gz"
|
|
||||||
force: false
|
|
||||||
|
|
||||||
- name: create destination directory
|
|
||||||
file:
|
|
||||||
state: directory
|
|
||||||
path: "{{ tempdir.path }}/PortfolioPerformance"
|
|
||||||
when: not stat_portfolio_performance_installation.stat.exists
|
|
||||||
|
|
||||||
- name: unpack portfolio performance
|
|
||||||
unarchive:
|
|
||||||
src: "{{ tempdir.path }}/PortfolioPerformance.{{ portfolio_performace_version }}.tar.gz"
|
|
||||||
owner: "{{ user.name }}"
|
|
||||||
group: "{{ user_group_name }}"
|
|
||||||
mode: '0755'
|
|
||||||
dest: "{{ tempdir.path }}/PortfolioPerformance"
|
|
||||||
remote_src: true
|
|
||||||
|
|
||||||
- name: install portfolio performance
|
|
||||||
synchronize:
|
|
||||||
src: "{{ tempdir.path }}/PortfolioPerformance"
|
|
||||||
dest: /home/{{ user.name }}/.opt/portfolio-performance-{{ portfolio_performace_version }}
|
|
||||||
recursive: true
|
|
||||||
checksum: true
|
|
||||||
delete: true
|
|
||||||
|
|
||||||
- name: clean up temp directory
|
|
||||||
file:
|
|
||||||
path: "{{ tempdir.path }}"
|
|
||||||
state: absent
|
|
||||||
|
|
||||||
when:
|
|
||||||
- not stat_portfolio_performance_installation.stat.exists
|
|
||||||
- not ansible_check_mode
|
|
||||||
|
|
||||||
- name: link portfolio performance
|
|
||||||
file:
|
|
||||||
src: /home/{{ user.name }}/.opt/portfolio-performance-{{ portfolio_performace_version }}/PortfolioPerformance/portfolio/PortfolioPerformance
|
|
||||||
dest: /home/{{ user.name }}/.optbin/portfolio-performance
|
|
||||||
owner: "{{ user.name }}"
|
|
||||||
group: "{{ user_group_name }}"
|
|
||||||
state: link
|
|
||||||
force: true
|
|
||||||
tags:
|
|
||||||
- portfolio-performance
|
|
||||||
|
|
||||||
- name: handle autostart units
|
- name: handle autostart units
|
||||||
block:
|
block:
|
||||||
- name: create systemd user directory
|
- name: create systemd user directory
|
||||||
|
|||||||
Reference in New Issue
Block a user