mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-09 02:45:17 +00:00
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
---
|
|
- name: "load docker, db and proxy for {{ application_id }}"
|
|
include_role:
|
|
name: sys-stk-full-stateful
|
|
vars:
|
|
client_max_body_size: "30m"
|
|
docker_git_repository_branch: "stable/{{ OPENPROJECT_VERSION }}"
|
|
docker_git_repository_address: "https://github.com/opf/openproject-deploy"
|
|
docker_git_repository_pull: true
|
|
docker_compose_flush_handlers: false
|
|
|
|
- name: "Create {{ OPENPROJECT_PLUGINS_FOLDER }}"
|
|
file:
|
|
path: "{{ OPENPROJECT_PLUGINS_FOLDER }}"
|
|
state: directory
|
|
mode: '0755'
|
|
|
|
- name: "Transfering Gemfile.plugins to {{ OPENPROJECT_PLUGINS_FOLDER }}"
|
|
copy:
|
|
src: Gemfile.plugins
|
|
dest: "{{ [OPENPROJECT_PLUGINS_FOLDER,'Gemfile.plugins'] | path_join }}"
|
|
notify:
|
|
- docker compose up
|
|
- docker compose build
|
|
|
|
- name: "create {{ OPENPROJECT_DUMMY_VOLUME }}"
|
|
file:
|
|
path: "{{ OPENPROJECT_DUMMY_VOLUME }}"
|
|
state: directory
|
|
mode: "0755"
|
|
|
|
- name: flush docker service
|
|
meta: flush_handlers
|
|
|
|
- name: Deploy Settings
|
|
include_tasks: 01_settings.yml
|
|
|
|
- name: Setup LDAP
|
|
include_tasks: 02_ldap.yml
|
|
when: OPENPROJECT_LDAP_ENABLED | bool
|
|
|
|
- name: Create OpenProject Administrator
|
|
include_tasks: 03_admin.yml |