mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
13 lines
605 B
YAML
13 lines
605 B
YAML
- name: Remove /etc/nextcloud to avoid confusion as we use the config in {{ nextcloud_prefix }}/nextcloud/config/
|
|
file: path=/etc/nextcloud
|
|
state=absent
|
|
|
|
# but we use the tar file to get the latest version; really only benefits the xo4 on fedora 18
|
|
- name: Get the nextcloud software
|
|
get_url: url="{{ nextcloud_dl_url }}"/{{ nextcloud_src_file }} dest={{ downloads_dir }}/{{ nextcloud_src_file }}
|
|
when: not {{ use_cache }} and not {{ no_network }}
|
|
tags:
|
|
- download2
|
|
|
|
- name: Copy it to permanent location /opt
|
|
unarchive: src={{ downloads_dir }}/{{ nextcloud_src_file }} dest=/opt/
|