Commit 09f65c83 authored by ulif's avatar ulif 🐻

Make apply-config.sh run ansible.

The new hosts.local inventory file acts as a replacement for the regular
ansible inventory. It is meant to be used on BBB nodes that want to
update local BBB config. With `hosts.local` we can put the local host
into groups.
parent 7c8c6238
......@@ -5,7 +5,7 @@
# ansible-playbook --connection=local -i 127.0.0.1, path/to/bbb-apply-config.yml
#
- name: Apply local BBB configuration
hosts: all
hosts: bigbluebutton
become: yes
tasks:
- name: We are alive
......
[bigbluebutton]
127.0.0.1
......@@ -16,3 +16,8 @@ yq w -i $HTML5_CONFIG public.kurento.cameraProfiles.[0].default true
yq w -i $HTML5_CONFIG public.kurento.cameraProfiles.[1].default false
yq w -i $HTML5_CONFIG public.kurento.cameraProfiles.[2].default false
yq w -i $HTML5_CONFIG public.kurento.cameraProfiles.[3].default false
ansible-playbook \
--connection=local \
-i "/root/bbb-ansible/hosts.local" \
"/root/bbb-ansible/bbb-apply-config.yml"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment