Ansible_workstation/roles/minidlna/tasks/main.yml

21 lines
388 B
YAML
Raw Permalink Normal View History

2022-06-05 07:05:48 +00:00
---
# 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