2022-11-10 22:47:17 +01:00
|
|
|
---
|
|
|
|
- name: Download etebase git Repository
|
|
|
|
become: true
|
|
|
|
ansible.builtin.git:
|
|
|
|
repo: "{{ etebase__repo }}"
|
|
|
|
dest: "{{ etebase__user_home }}/etebase_{{ etebase_version_target }}"
|
|
|
|
single_branch: true
|
|
|
|
depth: 4
|
|
|
|
force: false
|
|
|
|
track_submodules: true
|
|
|
|
umask: "0027"
|
|
|
|
update: false
|
|
|
|
version: "{{ etebase_version_target }}"
|
2022-11-12 16:25:43 +01:00
|
|
|
register: _etebase_download
|
2022-11-17 01:33:35 +01:00
|
|
|
notify:
|
|
|
|
- "Systemctl restart etebase.service"
|
|
|
|
- "Systemctl restart webserver"
|
2022-11-10 22:47:17 +01:00
|
|
|
|
|
|
|
- name: Fix venv File owner/group
|
|
|
|
become: true
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ etebase__user_home }}/etebase_{{ etebase_version_target }}"
|
|
|
|
state: directory
|
|
|
|
mode: 'u=rwX,g=rX,o='
|
|
|
|
recurse: true
|
|
|
|
group: "{{ etebase__group }}"
|
|
|
|
owner: "{{ etebase__user }}"
|