From 86ae2bb9a1ae1b919eea4b700395b363ce2cabdd Mon Sep 17 00:00:00 2001 From: root Date: Wed, 28 Sep 2022 19:40:25 -0400 Subject: [PATCH] Skip 'docker.sh setup-release' --- roles/azuracast/tasks/install.yml | 18 ++++++++---------- ....conf.j2 => azuracast-nginx.conf.j2.unused} | 0 2 files changed, 8 insertions(+), 10 deletions(-) rename roles/azuracast/templates/{azuracast-nginx.conf.j2 => azuracast-nginx.conf.j2.unused} (100%) diff --git a/roles/azuracast/tasks/install.yml b/roles/azuracast/tasks/install.yml index 5f4e43ff6..df4e9903a 100644 --- a/roles/azuracast/tasks/install.yml +++ b/roles/azuracast/tasks/install.yml @@ -7,16 +7,12 @@ template: src: prod.env.j2 dest: "{{ azuracast_host_dir }}/.env" - #owner: root - #group: root mode: 0644 #- name: AzuraCast - Install {{ azuracast_host_dir }}/docker-compose.override.yml from template # template: # src: docker-compose.override.yml.j2 # dest: "{{ azuracast_host_dir }}/docker-compose.override.yml" - #owner: root - #group: root # mode: 0644 - name: AzuraCast - Download {{ docker_sh_url }} to {{ azuracast_host_dir }} @@ -50,8 +46,6 @@ template: src: azuracast.env dest: "{{ azuracast_host_dir }}/" - #owner: root - #group: root mode: 0644 - name: AzuraCast - Make directory {{ docker_container_dir }} @@ -65,10 +59,14 @@ path: /var/lib/docker state: link -- name: AzuraCast - Setup for stable channel install - shell: "yes 'Y' | /bin/bash docker.sh setup-release" - args: - chdir: "{{ azuracast_host_dir }}" +# 2022-09-28: "yes 'Y'" toggled whatever it found in /opt/azuracast/.env (e.g. +# AZURACAST_VERSION=stable from templates/prod.env.j2) to the opposite (e.g. +# AZURACAST_VERSION=latest). Let's not modify /opt/azuracast/.env unless nec! +# +# - 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: "yes '' | /bin/bash docker.sh install" diff --git a/roles/azuracast/templates/azuracast-nginx.conf.j2 b/roles/azuracast/templates/azuracast-nginx.conf.j2.unused similarity index 100% rename from roles/azuracast/templates/azuracast-nginx.conf.j2 rename to roles/azuracast/templates/azuracast-nginx.conf.j2.unused