Use the .yaml file extension for all YAML files
This commit is contained in:
parent
9d0697f0d0
commit
1bcb77961b
60 changed files with 1 additions and 1 deletions
17
playbooks/roles/shairport_sync/tasks/main.yaml
Normal file
17
playbooks/roles/shairport_sync/tasks/main.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
- name: Ensure shairport-sync is installed
|
||||
ansible.builtin.apt:
|
||||
name: shairport-sync
|
||||
- name: Ensure shairport-sync config is deployed
|
||||
ansible.builtin.copy:
|
||||
content: "{{ shairport_sync__config }}"
|
||||
dest: /etc/shairport-sync.conf
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: root
|
||||
notify: Restart shairport-sync service
|
||||
- name: Ensure shairport-sync service is enabled and started
|
||||
ansible.builtin.systemd:
|
||||
service: shairport-sync
|
||||
state: started
|
||||
enabled: true
|
Loading…
Add table
Add a link
Reference in a new issue