19 lines
366 B
YAML
19 lines
366 B
YAML
- name: Install icecast2
|
|
ansible.builtin.apt:
|
|
pkg:
|
|
- icecast2
|
|
|
|
- name: Add icecast2 to ssl-cert group
|
|
user:
|
|
name: icecast2
|
|
groups: ssl-cert
|
|
append: yes
|
|
|
|
- name: Update config
|
|
ansible.builtin.template:
|
|
src: icecast.xml.j2
|
|
dest: /etc/icecast2/icecast.xml
|
|
owner: root
|
|
group: icecast
|
|
mode: "0640"
|
|
notify: Restart icecast2
|