2023-07-06 22:14:08 +02:00
|
|
|
---
|
|
|
|
- name: Configure engelsystem.z9 with engelsystem
|
|
|
|
hosts: engelsystem
|
|
|
|
roles:
|
|
|
|
- nginx
|
|
|
|
- cert
|
|
|
|
- docker
|
|
|
|
- docker_compose
|
|
|
|
pre_tasks:
|
|
|
|
- name: Install git
|
|
|
|
ansible.builtin.apt:
|
|
|
|
name: git
|
|
|
|
state: present
|
|
|
|
- name: Clone engelsystem repo
|
|
|
|
ansible.builtin.git:
|
|
|
|
repo: https://github.com/engelsystem/engelsystem.git
|
|
|
|
dest: "{{ ansible_user_dir }}/engelsystem"
|
|
|
|
version: main
|
|
|
|
force: true
|
|
|
|
update: false
|
2023-07-28 23:59:02 +02:00
|
|
|
- name: apply patch to code to add train drivers license
|
|
|
|
ansible.posix.patch:
|
|
|
|
src: patches/engelsystem/code_en.patch
|
|
|
|
dest: "{{ ansible_user_dir }}/engelsystem/includes/view/UserDriverLicenses_view.php"
|
|
|
|
- name: apply patch to german locale add train drivers license
|
|
|
|
ansible.posix.patch:
|
|
|
|
src: patches/engelsystem/lang_de.patch
|
|
|
|
dest: "{{ ansible_user_dir }}/engelsystem/resources/lang/de_DE/default.po"
|