mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Azuracast - quirks and shingles
This commit is contained in:
parent
7400b48c95
commit
80ad0c572f
2 changed files with 15 additions and 0 deletions
|
@ -11,5 +11,6 @@ azuracast_http_port: 9080
|
|||
azuracast_https_port: 9443
|
||||
|
||||
docker_sh_url: https://raw.githubusercontent.com/AzuraCast/AzuraCast/master/docker.sh
|
||||
docker_compose_url: https://raw.githubusercontent.com/AzuraCast/AzuraCast/master/docker-compose.sample.yml
|
||||
docker_container_dir: /library/docker
|
||||
azuracast_host_dir: /opt/azuracast
|
||||
|
|
|
@ -27,6 +27,13 @@
|
|||
mode: 0755
|
||||
when: internet_available | bool
|
||||
|
||||
- name: Azuracast - Download docker-compose.yml
|
||||
get_url:
|
||||
url: "{{ docker_compose_url }}"
|
||||
dest: "{{ azuracast_host_dir }}/docker-compose.yml"
|
||||
timeout: "{{ download_timeout }}"
|
||||
mode: 0755
|
||||
|
||||
- name: Azuracast - Make changes to docker.sh script so it runs headless
|
||||
lineinfile:
|
||||
path: "{{ azuracast_host_dir }}/docker.sh"
|
||||
|
@ -45,7 +52,14 @@
|
|||
dest: "/var/lib/docker"
|
||||
state: link
|
||||
|
||||
- name: Change default port number ranges 8xxx:8xxx to 9xxx:9xxx icecast-stations in docker-compose.yml
|
||||
replace:
|
||||
path: "{{ azuracast_host_dir }}/docker-compose.yml"
|
||||
regexp: "^( *- \\')8([0-9][1-9][0-9])\\:8([0-9][1-9][0-9]\\'.*)$"
|
||||
replace: '\g<1>9\g<2>:9\g<3>'
|
||||
|
||||
- name: Azuracast - Run the installer
|
||||
shell: "/bin/bash docker.sh install"
|
||||
args:
|
||||
chdir: "{{ azuracast_host_dir }}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue