Explorar el Código

Rename Continuwuity migration tag (`migrate-conduwuit` -> `conduwuit-migrate-from-continuwuity`) to be less generic

This should allow roles for other forks (like Tuwunel) to use similar tags.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4267
pull/4278/head
Slavi Pantaleev hace 10 meses
padre
commit
3e1bc3ce59
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
  1. +2
    -1
      docs/configuring-playbook-continuwuity.md
  2. +1
    -1
      roles/custom/matrix-continuwuity/tasks/main.yml

+ 2
- 1
docs/configuring-playbook-continuwuity.md Ver fichero

@@ -83,6 +83,7 @@ Then, send its content to the existing admin room:
```
as_token: <token>
de.sorunome.msc2409.push_ephemeral: true
receive_ephemeral: true
hs_token: <token>
id: signal
namespaces:
@@ -109,7 +110,7 @@ Since Continuwuity is a drop-in replacement for [conduwuit](configuring-playbook

3. Run the installation in a way that installs new services and uninstalls old ones (e.g. `just setup-all`)

4. Run the playbook with the `migrate-conduwuit` tag (e.g. `just run-tags migrate-conduwuit`). This migrates data from `/matrix/conduwuit` to `/matrix/continuwuity`
4. Run the playbook with the `conduwuit-migrate-from-continuwuity` tag (e.g. `just run-tags conduwuit-migrate-from-continuwuity`). This migrates data from `/matrix/conduwuit` to `/matrix/continuwuity`

## Troubleshooting



+ 1
- 1
roles/custom/matrix-continuwuity/tasks/main.yml Ver fichero

@@ -34,7 +34,7 @@
ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_federation_api.yml"

- tags:
- migrate-conduwuit
- conduwuit-migrate-from-continuwuity
block:
- when: matrix_continuwuity_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/migrate_from_conduwuit.yml"

Cargando…
Cancelar
Guardar