27 lines
597 B
YAML
27 lines
597 B
YAML
- name: "systemd | Kopiere Services"
|
|
template:
|
|
src: "systemd/{{ item }}.j2"
|
|
dest: "/etc/systemd/system/{{ item }}"
|
|
loop:
|
|
- zammad.service
|
|
- zammad-rails.service
|
|
- zammad-scheduler.service
|
|
- zammad-websocket.service
|
|
|
|
- name: "systemd | Erstelle Konfigurationsverzeichnis"
|
|
file:
|
|
path: /etc/zammad
|
|
state: directory
|
|
|
|
- name: "systemd | Kopiere Konfiguration"
|
|
copy:
|
|
src: zammad.env
|
|
dest: "{{ zammad_env_file }}"
|
|
force: no
|
|
|
|
- name: "systemd | Aktiviere Service"
|
|
systemd:
|
|
name: zammad
|
|
enabled: true
|
|
daemon_reload: true
|
|
state: started
|