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.
 
 

118 regels
3.0 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. # Perform extra self-check functions
  26. - include_tasks:
  27. file: "self_check.yml"
  28. apply:
  29. tags: self-check
  30. when: run_setup|bool and matrix_awx_enabled|bool
  31. tags:
  32. - self-check
  33. # Import configs, media repo from /chroot/backup import
  34. - include_tasks:
  35. file: "import_awx.yml"
  36. apply:
  37. tags: import-awx
  38. when: run_setup|bool and matrix_awx_enabled|bool
  39. tags:
  40. - import-awx
  41. # Configure SFTP so user can upload a static website or access the servers export
  42. - include_tasks:
  43. file: "customise_website_access_export.yml"
  44. apply:
  45. tags: setup-nginx-proxy
  46. when: run_setup|bool and matrix_awx_enabled|bool
  47. tags:
  48. - setup-nginx-proxy
  49. # Additional playbook to set the variable file during Element configuration
  50. - include_tasks:
  51. file: "set_variables_element.yml"
  52. apply:
  53. tags: setup-client-element
  54. when: run_setup|bool and matrix_awx_enabled|bool
  55. tags:
  56. - setup-client-element
  57. # Additional playbook to set the variable file during Synapse configuration
  58. - include_tasks:
  59. file: "set_variables_synapse.yml"
  60. apply:
  61. tags: setup-synapse
  62. when: run_setup|bool and matrix_awx_enabled|bool
  63. tags:
  64. - setup-synapse
  65. # Additional playbook to set the variable file during Jitsi configuration
  66. - include_tasks:
  67. file: "set_variables_jitsi.yml"
  68. apply:
  69. tags: setup-jitsi
  70. when: run_setup|bool and matrix_awx_enabled|bool
  71. tags:
  72. - setup-jitsi
  73. # Additional playbook to set the variable file during Ma1sd configuration
  74. - include_tasks:
  75. file: "set_variables_ma1sd.yml"
  76. apply:
  77. tags: setup-ma1sd
  78. when: run_setup|bool and matrix_awx_enabled|bool
  79. tags:
  80. - setup-ma1sd
  81. # Additional playbook to set the variable file during Corporal configuration
  82. - include_tasks:
  83. file: "set_variables_corporal.yml"
  84. apply:
  85. tags: setup-corporal
  86. when: run_setup|bool and matrix_awx_enabled|bool
  87. tags:
  88. - setup-corporal
  89. # Additional playbook to set the variable file during Synapse Admin configuration
  90. - include_tasks:
  91. file: "set_variables_synapse_admin.yml"
  92. apply:
  93. tags: setup-synapse-admin
  94. when: run_setup|bool and matrix_awx_enabled|bool
  95. tags:
  96. - setup-synapse-admin
  97. # Load newly formed matrix variables from tower volume
  98. - include_tasks:
  99. file: "load_matrix_variables.yml"
  100. apply:
  101. tags: always
  102. when: run_setup|bool and matrix_awx_enabled|bool
  103. tags:
  104. - always