Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 

24 строки
1.2 KiB

  1. - set_fact:
  2. matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-mx-puppet-skype'] }}"
  3. when: matrix_mx_puppet_skype_enabled|bool
  4. # If the matrix-synapse role is not used, these variables may not exist.
  5. - set_fact:
  6. matrix_synapse_container_extra_arguments: >
  7. {{ matrix_synapse_container_extra_arguments|default([]) }}
  8. +
  9. ["--mount type=bind,src={{ matrix_mx_puppet_skype_config_path }}/registration.yaml,dst=/matrix-mx-puppet-skype-registration.yaml,ro"]
  10. matrix_synapse_app_service_config_files: >
  11. {{ matrix_synapse_app_service_config_files|default([]) }}
  12. +
  13. {{ ["/matrix-mx-puppet-skype-registration.yaml"] }}
  14. when: matrix_mx_puppet_skype_enabled|bool
  15. # ansible lower than 2.8, does not support docker_image build parameters
  16. # for self buildig it is explicitly needed, so we rather fail here
  17. - name: Fail if running on Ansible lower than 2.8 and trying self building
  18. fail:
  19. msg: "To self build Puppet Skype image, you should usa ansible 2.8 or higher. E.g. pip contains such packages."
  20. when: "ansible_version.major == 2 and ansible_version.minor < 8 and matrix_mx_puppet_skype_container_image_self_build"