--- # tasks file for nut - name: Install os-specific packages include_tasks: "{{ ansible_os_family | lower }}.yml" - name: Copy minidlna.conf template: src: minidlna.j2.conf dest: /etc/minidlna.conf owner: root group: root mode: 0644 notify: restart minidlna - name: start and enable minidlna service: name: minidlna enabled: yes state: started