Finished bbb implementation

This commit is contained in:
2025-07-20 20:07:43 +02:00
parent a580f41edd
commit ed866bf177
7 changed files with 48 additions and 34 deletions

View File

@@ -37,7 +37,7 @@
notify: restart nginx
- name: "Remove directory {{ docker_compose.directories.env }}"
ansible.builtin.file:
file:
path: "{{ docker_compose.directories.env }}"
state: absent
@@ -48,12 +48,20 @@
notify: setup bigbluebutton
- name: Create symbolic link from .env file to target location
ansible.builtin.file:
file:
src: "{{ bbb_env_file_origine }}"
dest: "{{ bbb_env_file_link }}"
state: link
notify: setup bigbluebutton
- name: "Check if any container is running in {{ docker_compose.directories.instance }}"
command: docker compose ps -q --filter status=running
args:
chdir: "{{ docker_compose.directories.instance }}"
register: docker_ps
changed_when: (docker_ps.stdout | trim) == ""
notify: setup bigbluebutton
- name: flush docker service
meta: flush_handlers
@@ -62,7 +70,7 @@
host: "{{ domains | get_domain('web-app-bigbluebutton') }}"
port: 80
delay: 5
timeout: 600
timeout: 300
- name: create admin
command:
@@ -70,9 +78,4 @@
chdir: "{{ docker_compose.directories.instance }}"
when: bigbluebutton_setup
ignore_errors: true
register: admin_creation_result
- name: print admin user data
debug:
msg: "{{ admin_creation_result.stdout }}"
when: bigbluebutton_setup
register: admin_creation_result