Преглед изворни кода

rename variable for matrix-awx, update documentation

pull/1520/head
PC-Admin пре 4 година
родитељ
комит
3dc45653f4
2 измењених фајлова са 11 додато и 10 уклоњено
  1. +4
    -10
      docs/configuring-awx-system.md
  2. +7
    -0
      roles/matrix-awx/tasks/rename_variables.yml

+ 4
- 10
docs/configuring-awx-system.md Прегледај датотеку

@@ -4,7 +4,7 @@ An AWX setup for managing multiple Matrix servers.

This section is used in an AWX system that can create and manage multiple [Matrix](http://matrix.org/) servers. You can issue members an AWX login to their own 'organisation', which they can use to manage/configure 1 to N servers.

Members can be assigned a server from Digitalocean, or they can connect their own on-premises server. This script is free to use in a commercial context with the 'MemberPress Plus' and 'WP Oauth Sever' addons. It can also be run in a non-commercial context.
Members can be assigned a server from Digitalocean, or they can connect their own on-premises server. These playbooks are free to use in a commercial context with the 'MemberPress Plus' plugin. They can also be run in a non-commercial context.

The AWX system is arranged into 'members' each with their own 'subscriptions'. After creating a subscription the user enters the 'provision stage' where they defined the URLs they will use, the servers location and whether or not there's already a website at the base domain. They then proceed onto the 'deploy stage' where they can configure their Matrix server.

@@ -21,12 +21,7 @@ The following repositories allow you to copy and use this setup:

[Ansible Provision Server](https://gitlab.com/GoMatrixHosting/ansible-provision-server) - Used by AWX members to perform initial configuration of their DigitalOcean or On-Premises server.


## Testing Fork For This Playbook

Updates to this section are trailed here:

[GoMatrixHosting Matrix Docker Ansible Deploy](https://gitlab.com/GoMatrixHosting/matrix-docker-ansible-deploy)
[GMHosting External Tools](https://gitlab.com/GoMatrixHosting/gmhosting-external-tools) - Extra tools we run outside of AWX, some of which are experimental.


## Does I need an AWX setup to use this? How do I configure it?
@@ -38,7 +33,6 @@ For simpler installation steps you can use to get started with this system, chec

## Does I need a front-end WordPress site? And a DigitalOcean account?

You do not need a front-end WordPress site or any of the mentioned WordPress plugins to use this setup. It can be run on it's own in a non-commercial context.

You also don't need a DigitalOcean account, but this will limit you to only being able to connect 'On-Premises' servers.
You do not need a front-end WordPress site or the MemberPress plugin to use this setup. It can be run on it's own in a non-commercial context.

You also don't need a DigitalOcean account, although this will limit you to only being able to connect 'On-Premises' servers.

+ 7
- 0
roles/matrix-awx/tasks/rename_variables.yml Прегледај датотеку

@@ -6,3 +6,10 @@
path: "/var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml"
regexp: 'matrix_synapse_use_presence'
replace: 'matrix_synapse_presence_enabled'

- name: Rename macaroon secret key variable
delegate_to: 127.0.0.1
replace:
path: "/var/lib/awx/projects/clients/{{ member_id }}/{{ subscription_id }}/matrix_vars.yml"
regexp: 'matrix_synapse_macaroon_secret_key'
replace: 'matrix_homeserver_generic_secret_key'

Loading…
Откажи
Сачувај