Initial commit
This commit is contained in:
commit
906e1abd06
4 changed files with 274 additions and 0 deletions
19
tasks/main.yml
Normal file
19
tasks/main.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
- 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue