- name: remove hddtemp.conf become: yes file: state: absent path: "/etc/telegraf/telegraf.d/hddtemp.conf" notify: restart_telegraf