mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-04-21 11:48:46 +02:00
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:
parent
afba1caaa5
commit
af89e11f60
@ -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
|
## 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
|
```sh
|
||||||
ansible-playbook -i inventory/hosts setup.yml --tags=setup-system-user
|
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
|
## 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
|
```sh
|
||||||
ansible-playbook -i inventory/hosts setup.yml --tags=install-all,start
|
ansible-playbook -i inventory/hosts setup.yml --tags=install-all,start
|
||||||
|
Loading…
x
Reference in New Issue
Block a user