Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
952 B

  1. ---
  2. - name: Fail if required settings not defined
  3. fail:
  4. msg: >-
  5. You need to define a required configuration setting (`{{ item }}`).
  6. when: "vars[item] == ''"
  7. with_items:
  8. - "matrix_mautrix_signal_homeserver_domain"
  9. - "matrix_mautrix_signal_homeserver_address"
  10. - "matrix_mautrix_signal_homeserver_token"
  11. - "matrix_mautrix_signal_appservice_token"
  12. - "matrix_mautrix_signal_db_user"
  13. - "matrix_mautrix_signal_db_password"
  14. - "matrix_mautrix_signal_db_database"
  15. - name: (Deprecation) Catch and report renamed Signal variables
  16. fail:
  17. msg: >-
  18. Your configuration contains a variable, which now has a different name.
  19. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  20. when: "item.old in vars"
  21. with_items:
  22. - {'old': 'matrix_mautrix_signal_container_exposed_port_number', 'new': '<superseded by matrix_mautrix_signal_container_http_host_bind_port>'}