yuri
33d1cfca1f
Move become: true into zigbee2mqtt role Remove become: true from deploy_public_reverse_proxy playbook Remove become: true from deploy_dokuwiki playbook Move become: true from deploy_audio_pi and deploy_light playbooks into roles Remove become: true from deploy_keycloak playbook Move become: true from deploy_automation playbook to mosquitto role
22 lines
536 B
YAML
22 lines
536 B
YAML
---
|
|
- name: Ensure shairport-sync is installed
|
|
become: true
|
|
ansible.builtin.apt:
|
|
name: shairport-sync
|
|
|
|
- name: Ensure shairport-sync config is deployed
|
|
become: true
|
|
ansible.builtin.copy:
|
|
content: "{{ shairport_sync__config }}"
|
|
dest: /etc/shairport-sync.conf
|
|
mode: "644"
|
|
owner: root
|
|
group: root
|
|
notify: Restart shairport-sync service
|
|
|
|
- name: Ensure shairport-sync service is enabled and started
|
|
become: true
|
|
ansible.builtin.systemd:
|
|
service: shairport-sync
|
|
state: started
|
|
enabled: true
|