Matrix Docker Ansible eploy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

136 Zeilen
3.4 KiB

  1. # Load initial hosting and organisation variables from AWX volume
  2. - include_tasks:
  3. file: "load_hosting_and_org_variables.yml"
  4. apply:
  5. tags: always
  6. when: run_setup|bool and matrix_awx_enabled|bool
  7. tags:
  8. - always
  9. # Perform a backup of the server
  10. - include_tasks:
  11. file: "backup_server.yml"
  12. apply:
  13. tags: backup-server
  14. when: run_setup|bool and matrix_awx_enabled|bool
  15. tags:
  16. - backup-server
  17. # Create a user account if called
  18. - include_tasks:
  19. file: "create_user.yml"
  20. apply:
  21. tags: create-user
  22. when: run_setup|bool and matrix_awx_enabled|bool
  23. tags:
  24. - create-user
  25. # Import configs, media repo from /chroot/backup import
  26. - include_tasks:
  27. file: "import_awx.yml"
  28. apply:
  29. tags: import-awx
  30. when: run_setup|bool and matrix_awx_enabled|bool
  31. tags:
  32. - import-awx
  33. # Perform extra self-check functions
  34. - include_tasks:
  35. file: "self_check.yml"
  36. apply:
  37. tags: self-check
  38. when: run_setup|bool and matrix_awx_enabled|bool
  39. tags:
  40. - self-check
  41. # Create cached matrix_vars.yml file
  42. - include_tasks:
  43. file: "cache_matrix_variables.yml"
  44. apply:
  45. tags: always
  46. when: run_setup|bool and matrix_awx_enabled|bool
  47. tags:
  48. - always
  49. # Configure SFTP so user can upload a static website or access the servers export
  50. - include_tasks:
  51. file: "customise_website_access_export.yml"
  52. apply:
  53. tags: setup-nginx-proxy
  54. when: run_setup|bool and matrix_awx_enabled|bool
  55. tags:
  56. - setup-nginx-proxy
  57. # Additional playbook to set the variable file during Element configuration
  58. - include_tasks:
  59. file: "set_variables_element.yml"
  60. apply:
  61. tags: setup-client-element
  62. when: run_setup|bool and matrix_awx_enabled|bool
  63. tags:
  64. - setup-client-element
  65. # Additional playbook to set the variable file during Synapse configuration
  66. - include_tasks:
  67. file: "set_variables_synapse.yml"
  68. apply:
  69. tags: setup-synapse
  70. when: run_setup|bool and matrix_awx_enabled|bool
  71. tags:
  72. - setup-synapse
  73. # Additional playbook to set the variable file during Jitsi configuration
  74. - include_tasks:
  75. file: "set_variables_jitsi.yml"
  76. apply:
  77. tags: setup-jitsi
  78. when: run_setup|bool and matrix_awx_enabled|bool
  79. tags:
  80. - setup-jitsi
  81. # Additional playbook to set the variable file during Ma1sd configuration
  82. - include_tasks:
  83. file: "set_variables_ma1sd.yml"
  84. apply:
  85. tags: setup-ma1sd
  86. when: run_setup|bool and matrix_awx_enabled|bool
  87. tags:
  88. - setup-ma1sd
  89. # Additional playbook to set the variable file during Corporal configuration
  90. - include_tasks:
  91. file: "set_variables_corporal.yml"
  92. apply:
  93. tags: setup-corporal
  94. when: run_setup|bool and matrix_awx_enabled|bool
  95. tags:
  96. - setup-corporal
  97. # Additional playbook to set the variable file during Dimension configuration
  98. - include_tasks:
  99. file: "set_variables_dimension.yml"
  100. apply:
  101. tags: setup-dimension
  102. when: run_setup|bool and matrix_awx_enabled|bool
  103. tags:
  104. - setup-dimension
  105. # Additional playbook to set the variable file during Synapse Admin configuration
  106. - include_tasks:
  107. file: "set_variables_synapse_admin.yml"
  108. apply:
  109. tags: setup-synapse-admin
  110. when: run_setup|bool and matrix_awx_enabled|bool
  111. tags:
  112. - setup-synapse-admin
  113. # Load newly formed matrix variables from AWX volume
  114. - include_tasks:
  115. file: "load_matrix_variables.yml"
  116. apply:
  117. tags: always
  118. when: run_setup|bool and matrix_awx_enabled|bool
  119. tags:
  120. - always