ansible-role-zammad/tasks/webserver.yml

16 lines
352 B
YAML
Raw Normal View History

2021-07-28 18:28:22 +02:00
- name: "webserver: Konfiguration kopieren"
template:
src: nginx-site.j2
dest: "{{ zammad_webserver_configuration }}"
notify: reload nginx
2021-07-28 18:28:22 +02:00
- name: "webserver: Kofiguration aktivieren"
file:
src: "{{ zammad_webserver_configuration }}"
dest: "/etc/nginx/sites-enabled/{{ zammad_domain }}"
state: link
notify: reload nginx
2021-07-28 18:28:22 +02:00