--- - name: "webserver | Erzeuge Letsencrypt-Zertifikat" ansible.builtin.lineinfile: path: /etc/dehydrated/domains.txt line: "{{ grafana.domain }}" notify: get certificate - name: "webserver | Grafana-Seitenkonfigurationen kopieren" ansible.builtin.template: src: apache2-site.conf dest: "/etc/apache2/sites-available/{{ grafana.domain }}.conf" mode: 0644 - name: "webserver | Grafana-Seitenkonfiguration aktivieren" ansible.builtin.command: "a2ensite {{ grafana.domain }}" notify: reload apache2