mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Merge pull request #2865 from m-anish/azuracast-fix
[NEEDSFIX] Azuracast fix
This commit is contained in:
		
						commit
						0f1c8cf394
					
				
					 3 changed files with 14 additions and 13 deletions
				
			
		|  | @ -16,7 +16,7 @@ | |||
| # All above are set in: github.com/iiab/iiab/blob/master/vars/default_vars.yml | ||||
| # If nec, change them by editing /etc/iiab/local_vars.yml prior to installing! | ||||
| 
 | ||||
| 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_sh_url: https://raw.githubusercontent.com/AzuraCast/AzuraCast/main/docker.sh | ||||
| docker_compose_url: https://raw.githubusercontent.com/AzuraCast/AzuraCast/main/docker-compose.sample.yml  | ||||
| docker_container_dir: /library/docker | ||||
| azuracast_host_dir: /opt/azuracast | ||||
|  |  | |||
|  | @ -35,12 +35,12 @@ | |||
|     mode: 0755 | ||||
|   when: internet_available | ||||
| 
 | ||||
| - name: AzuraCast - Make changes to docker.sh script so it runs headless | ||||
|   lineinfile: | ||||
|     path: "{{ azuracast_host_dir }}/docker.sh" | ||||
|     regexp: "^(.*)read reply.*" | ||||
|     line: "\\1reply='Y'" | ||||
|     backrefs: yes | ||||
| #- name: AzuraCast - Make changes to docker.sh script so it runs headless | ||||
| #  lineinfile: | ||||
| #    path: "{{ azuracast_host_dir }}/docker.sh" | ||||
| #    regexp: "^(.*)read reply.*" | ||||
| #    line: "\\1reply='Y'" | ||||
| #    backrefs: yes | ||||
| 
 | ||||
| - name: AzuraCast - Make directory {{ docker_container_dir }} | ||||
|   file:  | ||||
|  | @ -59,8 +59,13 @@ | |||
|     regexp: "^( *- \\')8([0-9]{3})\\:8([0-9]{3}\\'.*)$" | ||||
|     replace: "\\g<1>{{ azuracast_port_range_prefix }}\\g<2>:{{ azuracast_port_range_prefix }}\\g<3>" | ||||
| 
 | ||||
| - name: AzuraCast - Setup for stable channel install | ||||
|   shell: "yes 'Y' | /bin/bash docker.sh setup-release" | ||||
|   args: | ||||
|     chdir: "{{ azuracast_host_dir }}" | ||||
| 
 | ||||
| - name: AzuraCast - Run the installer | ||||
|   shell: "/bin/bash docker.sh install" | ||||
|   shell: "yes '' | /bin/bash docker.sh install" | ||||
|   args: | ||||
|     chdir: "{{ azuracast_host_dir }}" | ||||
| 
 | ||||
|  |  | |||
|  | @ -9,10 +9,6 @@ services: | |||
|     networks: | ||||
|       - azure | ||||
| 
 | ||||
|   influxdb: | ||||
|     networks: | ||||
|       - azure | ||||
| 
 | ||||
|   redis: | ||||
|     networks: | ||||
|       - azure | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue