galaxy_info:
  author: Juan Luis Baptiste
  description: Simple BigBlueButton installation (following the documentation on http://docs.bigbluebutton.org/install/install.html)

  license: MIT

  min_ansible_version: 2.8

  platforms:
  - name: Ubuntu

  galaxy_tags: []
    # List tags for your role here, one per line. A tag is
    # a keyword that describes and categorizes the role.
    # Users find roles by searching for tags. Be sure to
    # remove the '[]' above if you add tags to this list.
    #
    # NOTE: A tag is limited to a single word comprised of
    # alphanumeric characters. Maximum 20 tags per role.

dependencies:
  - role: geerlingguy.certbot
    vars:
      certbot_install_method: package
      certbot_create_if_missing: true
      certbot_auto_renew: true
      certbot_auto_renew_user: "{{ ansible_user | default(lookup('env', 'USER')) }}"
      certbot_auto_renew_hour: "1"
      certbot_auto_renew_minute: "44"
      certbot_auto_renew_options: "--quiet"
      certbot_admin_email: "{{ bbb_ssl_email }}"
      certbot_certs:
        - email: "{{ bbb_ssl_email }}"
          webroot: "{{ bbb_ssl_webroot_path }}"
          domains: "{{ bbb_server_names }}"
    when: bbb_configure_ssl == True
  - role: geerlingguy.docker
    vars:
      docker_install_compose: true