- name: telegraf_starten_aktivieren become: yes systemd: name: telegraf enabled: yes state: restarted - name: testmail shell: echo "zed ist eingerichtet" | mail -s "{{ ansible_hostname }} - zed" {{ empfaenger_mail }}