Matrix Docker Ansible eploy
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

24 linhas
1.1 KiB

  1. ---
  2. - name: Fail if required mautrix-discord settings not defined
  3. ansible.builtin.fail:
  4. msg: >-
  5. You need to define a required configuration setting (`{{ item.name }}`).
  6. when: "item.when | bool and vars[item.name] == ''"
  7. with_items:
  8. - {'name': 'matrix_mautrix_discord_appservice_token', when: true}
  9. - {'name': 'matrix_mautrix_discord_homeserver_address', when: true}
  10. - {'name': 'matrix_mautrix_discord_homeserver_token', when: true}
  11. - {'name': 'matrix_mautrix_discord_homeserver_public_address', when: true}
  12. - {'name': 'matrix_mautrix_discord_container_network', when: true}
  13. - {'name': 'matrix_mautrix_discord_database_hostname', when: "{{ matrix_mautrix_discord_database_engine == 'postgres' }}"}
  14. - name: (Deprecation) Catch and report renamed settings
  15. ansible.builtin.fail:
  16. msg: >-
  17. Your configuration contains a variable, which now has a different name.
  18. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  19. when: "item.old in vars"
  20. with_items:
  21. - {'old': 'matrix_mautrix_discord_login_shared_secret', 'new': '<removed>'}