1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

azuracast - iiab_installed

This commit is contained in:
Jerry Vonau 2019-09-14 16:50:19 -05:00
parent 42e679a0e8
commit 5c29c0322a
3 changed files with 13 additions and 1 deletions

View file

View file

@ -63,3 +63,10 @@
shell: "/bin/bash docker.sh install"
args:
chdir: "{{ azuracast_host_dir }}"
- name: Add 'azuracast_installed' variable values to {{ iiab_installed }}
lineinfile:
dest: "{{ iiab_installed }}"
regexp: '^azuracast_installed'
line: 'azuracast_installed'
state: present

View file

@ -1,3 +1,8 @@
- name: Install AzuraCast if azuracast_install
include_tasks: install.yml
when: azuracast_install | bool
when: azuracast_install | bool and not azuracast_installed is defined | bool
# TODO figure out what to turn off for azuracast
#- name: Enable AzuraCast
# include_tasks: enable.yml
# when: azuracast_install | bool or azuracast_installed is defined | bool