2022-11-10 00:12:22 +01:00
|
|
|
---
|
|
|
|
- name: Run optional versionscheck
|
2023-10-29 14:43:07 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'versioncheck.yml'
|
2022-11-10 00:12:22 +01:00
|
|
|
when: submodules_versioncheck | bool
|
2022-11-10 00:37:04 +01:00
|
|
|
|
|
|
|
- name: Create Etebase User/Group
|
2023-10-29 14:43:07 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'create_user.yml'
|
2022-11-10 01:04:02 +01:00
|
|
|
|
2022-11-10 22:47:17 +01:00
|
|
|
- name: Define Etebase Version
|
2023-10-29 14:43:07 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'set_version.yml'
|
2022-11-10 22:47:17 +01:00
|
|
|
|
2022-11-17 01:33:35 +01:00
|
|
|
- name: Run optional etebase backup
|
2023-10-29 14:43:07 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'backup.yml'
|
2022-11-17 01:33:35 +01:00
|
|
|
when: etebase__create_backup | bool
|
|
|
|
|
2022-11-10 22:47:17 +01:00
|
|
|
- name: Download Etebase Repo
|
2023-10-29 14:43:07 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'download.yml'
|
2022-11-10 22:47:17 +01:00
|
|
|
|
2022-11-10 01:04:02 +01:00
|
|
|
- name: Setup Virtualenv and install Requirements
|
2023-10-29 14:43:07 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'python_venv.yml'
|
2022-11-10 22:47:17 +01:00
|
|
|
|
|
|
|
- name: Create Etebase Config
|
2023-10-29 14:43:07 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'configure.yml'
|
2022-11-12 16:25:43 +01:00
|
|
|
|
|
|
|
- name: Run ./manage.py migrate
|
2023-10-29 14:43:07 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'migrate.yml'
|
2022-11-12 18:32:49 +01:00
|
|
|
|
|
|
|
- name: Setup Systemd Service
|
2023-10-29 14:43:07 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'systemd.yml'
|
2022-11-12 18:32:49 +01:00
|
|
|
when: etebase__systemd_setup | bool
|
2022-11-14 12:37:00 +01:00
|
|
|
|
|
|
|
- name: Cleanup file permissions
|
2023-10-29 14:43:07 +01:00
|
|
|
ansible.builtin.include_tasks:
|
|
|
|
file: 'filepermissions.yml'
|