ansible-role-zammad/tasks/zammad.yml
2021-07-28 23:20:13 +02:00

27 lines
706 B
YAML

- name: "zammad: Hole Zammad Repo"
git:
repo: "{{ zammad_repo }}"
dest: "{{ zammad_home }}"
version: "{{ zammad_version }}"
force: yes
- name: "zammad: Ändere Besitzrechte"
file:
path: "{{ zammad_home }}"
state: directory
recurse: yes
owner: "{{ zammad_user }}"
group: "{{ zammad_user }}"
# https://github.com/zammad/zammad/issues/325
- name: "zammad: Wende plain-Text-Patch an"
patch:
src: plain-text.patch
dest: "{{ zammad_home }}/app/models/channel/email_build.rb"
# https://github.com/zammad/zammad/pull/3682
- name: "zammad: Wende ldap-user-filter-Patch an"
patch:
src: ldap-user-filter.patch
dest: "{{ zammad_home }}/lib/ldap/user.rb"