1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_etebase.git synced 2024-08-16 10:19:52 +02:00
ansible_role_etebase/tasks/main.yml
2023-10-29 14:43:07 +01:00

43 lines
1 KiB
YAML

---
- name: Run optional versionscheck
ansible.builtin.include_tasks:
file: 'versioncheck.yml'
when: submodules_versioncheck | bool
- name: Create Etebase User/Group
ansible.builtin.include_tasks:
file: 'create_user.yml'
- name: Define Etebase Version
ansible.builtin.include_tasks:
file: 'set_version.yml'
- name: Run optional etebase backup
ansible.builtin.include_tasks:
file: 'backup.yml'
when: etebase__create_backup | bool
- name: Download Etebase Repo
ansible.builtin.include_tasks:
file: 'download.yml'
- name: Setup Virtualenv and install Requirements
ansible.builtin.include_tasks:
file: 'python_venv.yml'
- name: Create Etebase Config
ansible.builtin.include_tasks:
file: 'configure.yml'
- name: Run ./manage.py migrate
ansible.builtin.include_tasks:
file: 'migrate.yml'
- name: Setup Systemd Service
ansible.builtin.include_tasks:
file: 'systemd.yml'
when: etebase__systemd_setup | bool
- name: Cleanup file permissions
ansible.builtin.include_tasks:
file: 'filepermissions.yml'