29 lines
876 B
YAML
29 lines
876 B
YAML
---
|
|
|
|
#- name: "[INSTALL] - Remove releases directory"
|
|
# file:
|
|
# path: "{{ rcube_release_dir_path }}"
|
|
# state: 'absent'
|
|
|
|
#- name: "[INSTALL] - Create releases directory"
|
|
# file:
|
|
# path: "{{ rcube_release_dir_path }}"
|
|
# state: directory
|
|
|
|
- name: "[INSTALL] - Download roundcube release"
|
|
unarchive:
|
|
src: "https://github.com/roundcube/roundcubemail/releases/download/{{ rcube_version }}/roundcubemail-{{ rcube_version }}-complete.tar.gz"
|
|
dest: "{{ rcube_release_dir_path }}"
|
|
owner: '{{ rcube_app_username }}'
|
|
group: '{{ rcube_app_group }}'
|
|
remote_src: yes
|
|
|
|
- name: "[INSTALL] - Copy content of the tarball to roundcube-latest"
|
|
copy:
|
|
src: "{{ rcube_release_dir_path }}/roundcubemail-{{ rcube_version }}/"
|
|
dest: "{{ rcube_latest_path }}/"
|
|
remote_src: 'true'
|
|
owner: '{{ rcube_app_username }}'
|
|
group: '{{ rcube_app_group }}'
|
|
|