Matrix Docker Ansible eploy
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

60 lignes
2.0 KiB

  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_hookshot_appservice_token"
  9. - "matrix_hookshot_homeserver_token"
  10. - name: Fail if required GitHub settings not defined
  11. fail:
  12. msg: >-
  13. You need to define a required configuration setting (`{{ item }}`) to enable GitHub.
  14. when: "matrix_hookshot_github_enabled and vars[item] == ''"
  15. with_items:
  16. - "matrix_hookshot_github_appid"
  17. - "matrix_hookshot_github_secret"
  18. - name: Fail if required GitHub OAuth settings not defined
  19. fail:
  20. msg: >-
  21. You need to define a required configuration setting (`{{ item }}`) to enable GitHub OAuth.
  22. when: "matrix_hookshot_github_oauth_enabled and vars[item] == ''"
  23. with_items:
  24. - "matrix_hookshot_github_oauth_id"
  25. - "matrix_hookshot_github_oauth_secret"
  26. - name: Fail if required Jira settings not defined
  27. fail:
  28. msg: >-
  29. You need to define a required configuration setting (`{{ item }}`) to enable Jira.
  30. when: "matrix_hookshot_jira_enabled and vars[item] == ''"
  31. with_items:
  32. - "matrix_hookshot_jira_secret"
  33. - name: Fail if required Jira OAuth settings not defined
  34. fail:
  35. msg: >-
  36. You need to define a required configuration setting (`{{ item }}`) to enable Jira OAuth.
  37. when: "matrix_hookshot_jira_oauth_enabled and vars[item] == ''"
  38. with_items:
  39. - "matrix_hookshot_jira_oauth_id"
  40. - "matrix_hookshot_jira_oauth_secret"
  41. - name: Fail if required Figma settings not defined
  42. fail:
  43. msg: >-
  44. You need to define at least one Figma instance to enable Figma.
  45. when: "matrix_hookshot_figma_enabled and matrix_hookshot_figma_instances is undefined"
  46. - name: Fail if required provisioning settings not defined
  47. fail:
  48. msg: >-
  49. You need to define a required configuration setting (`{{ item }}`) to enable provisioning.
  50. when: "matrix_hookshot_provisioning_enabled and vars[item] == ''"
  51. with_items:
  52. - "matrix_hookshot_provisioning_secret"