--- - name: create jitsi-meet scripts subdirectories loop: - jicofo - prosody - web - jvb file: path: "{{ jitsi_meet_base_path }}/{{ jitsi_meet_inst_name }}/scripts/{{ item }}" state: directory - name: generate prosody cont-init.d script copy: content: | #!/usr/bin/with-contenv bash sed -e 's#^\(component_interface\s*=\)#-- \1#g' -i /config/prosody.cfg.lua dest: "{{ jitsi_meet_base_path }}/{{ jitsi_meet_inst_name }}/scripts/prosody/cont-init.sh" mode: 0755 - name: generate pod manifests template: src: "pod.yml.j2" dest: "/etc/kubernetes/manifests/jitsi-meet-{{ jitsi_meet_inst_name }}.yml" mode: 0600 - name: configure nginx vhost vars: nginx_vhost: name: "jitsi-meet-{{ jitsi_meet_inst_name }}" template: generic-proxy-no-buffering-with-acme acme: true hostnames: "{{ jitsi_meet_hostnames }}" client_max_body_size: "0" proxy_pass: "http://127.0.0.1:{{ jitsi_meet_http_port }}" include_role: name: nginx/vhost