--- - name: run sensors-detect shell: "cat /dev/null | sensors-detect" - name: restart lm_sensors service: name: lm_sensors state: restarted