diff --git a/tasks/webserver.yml b/tasks/webserver.yml index f7a08d4..79433ed 100644 --- a/tasks/webserver.yml +++ b/tasks/webserver.yml @@ -12,5 +12,7 @@ mode: 0644 - name: "webserver | Grafana-Seitenkonfiguration aktivieren" - ansible.builtin.command: "a2ensite {{ grafana.domain }}" + ansible.builtin.command: + cmd: "a2ensite {{ grafana.domain }}" + creates: "/etc/apache2/site-enabled/{{ grafana.domain }}" notify: reload apache2