Edit docs/maintenance-migrating.md: instruction to run ansible-playbook commands locally

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
Suguru Hirahara 2024-11-24 21:19:13 +09:00
parent afba1caaa5
commit af89e11f60
No known key found for this signature in database
GPG Key ID: E4F9743DAB4B7B75

View File

@ -44,7 +44,7 @@ Having adjusted DNS records, replace the old server's external IP address on the
## Create `matrix` user and group on the new server
After updating `inventory/hosts` file, run the command below to create the `matrix` user and group on the new server:
After updating `inventory/hosts` file, run the command below on your local computer to create the `matrix` user and group on the new server:
```sh
ansible-playbook -i inventory/hosts setup.yml --tags=setup-system-user
@ -58,7 +58,7 @@ chown -R matrix:matrix /matrix
## Start all services on the new server
Finally, run the command below to finish the installation and start all services:
Finally, run the command below on your local computer to finish the installation and start all services:
```sh
ansible-playbook -i inventory/hosts setup.yml --tags=install-all,start