Commit f693f6f6 authored by julian.gethmann's avatar julian.gethmann

Update/fix zotero role to new version

parent 2005b6a8
---
- import_tasks: zotero.yml
--- ---
# - name: create dir for zotero
# file:
# name: /usr/local/Zotero
# state: directory
- name: unarchive zotero - name: unarchive zotero
become: yes become: yes
unarchive: unarchive:
src: "{{ zotero_file }}" src: "{{ zotero_file }}"
dest: /usr/local/
list_files: yes
register: archive_contents
- name: move zotero to version independent location
become: yes
copy:
src: "/usr/local/{{ archive_contents.files[0] }}"
dest: /usr/local/Zotero dest: /usr/local/Zotero
remote_src: True
- name: move 2/2
become: yes
file:
path: "/usr/local/{{ archive_contents.files[0] }}"
state: absent
- name: link zotero - name: link zotero
become: yes become: yes
......
zotero_file: Zotero-5.0.59_linux-x86_64.tar.bz2 zotero_file: Zotero-5.0.66_linux-x86_64.tar.bz2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment