--- - name: Install SMART ansible.builtin.apt: name: smartmontools state: present update_cache: true - name: Ensure smartd is enable & started ansible.builtin.service: name: smartd enabled: true state: started