Commit 6399a722 authored by axel.bernhard's avatar axel.bernhard
Browse files

Merge branch 'master' of git.scc.kit.edu:las/ansible

parents 06a3aef6 7a97df94
---
- import_tasks: zotero.yml
---
# - name: create dir for zotero
# file:
# name: /usr/local/Zotero
# state: directory
- name: unarchive zotero
become: yes
unarchive:
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
remote_src: True
- name: move 2/2
become: yes
file:
path: "/usr/local/{{ archive_contents.files[0] }}"
state: absent
- name: link zotero
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