Matrix Docker Ansible eploy
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
771 B

  1. ---
  2. - name: Fail if required matrix-registration settings not defined
  3. fail:
  4. msg: >
  5. You need to define a required configuration setting (`{{ item }}`) for using matrix-registration.
  6. when: "vars[item] == ''"
  7. with_items:
  8. - "matrix_registration_shared_secret"
  9. - "matrix_registration_admin_secret"
  10. - "matrix_registration_server_location"
  11. - name: (Deprecation) Catch and report renamed settings
  12. fail:
  13. msg: >-
  14. Your configuration contains a variable, which now has a different name.
  15. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  16. when: "item.old in vars"
  17. with_items:
  18. - {'old': 'matrix_registration_docker_repo', 'new': 'matrix_registration_container_image_self_build_repo'}