From 1ecb3dec7ae60a207138979e3bc748bee5e1e0a9 Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Fri, 30 Jun 2023 18:03:41 -0500 Subject: [PATCH 1/3] remove ansible-connection statements --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 666dbb2..10977b9 100644 --- a/README.md +++ b/README.md @@ -103,11 +103,10 @@ Self hosting Beeper is possible, but not an easy task right now. It requires exp 10. `cp examples/hosts inventory/hosts` 11. Open `inventory/hosts` in a text editor 1. Replace `` with your domain - 2. Replace `your-server's external IP address>` with Droplet IP - 3. add the following to the hosts file: `ansible_connection=community.docker.nsenter`. The hosts file shold now look like this: + 2. Replace `your-server's external IP address>` with Droplet IP. The hosts file shold now look like this: ``` [matrix_servers] - matrix.YOUR.DOMAIN ansible_host=YOUR_SERVERS_IP ansible_connection=local ansible_ssh_user=root ansible_connection=community.docker.nsenter + matrix.YOUR.DOMAIN ansible_host=YOUR_SERVERS_IP ansible_ssh_user=root ``` 12. Install docker and make sure it is started From 055d890cc3b80701654d32e2106395d5c8a2861e Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Fri, 30 Jun 2023 18:06:58 -0500 Subject: [PATCH 2/3] add key file note --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 10977b9..7809cc6 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,7 @@ Self hosting Beeper is possible, but not an easy task right now. It requires exp --entrypoint=/bin/sh \ docker.io/devture/ansible:2.13.6-r0-1 ``` + If you use a key type other than RSA, or for any other reason your key file is located elsewhere, you will need to change the above command to point to the correct key. 14. Your terminal should now show `/work`, then issue these commands 1. `git config --global --add safe.directory /work` From d9c99115956caace1ad831342fb6068835c0ec5b Mon Sep 17 00:00:00 2001 From: David Holdeman Date: Fri, 30 Jun 2023 21:59:18 -0500 Subject: [PATCH 3/3] fix weird e step --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7809cc6..1ea1307 100644 --- a/README.md +++ b/README.md @@ -132,16 +132,14 @@ Self hosting Beeper is possible, but not an easy task right now. It requires exp 3. `ansible-playbook -i inventory/hosts setup.yml --tags=install-all,ensure-matrix-users-created,start` 4. Your server is now installed! Check that everything is working `ansible-playbook -i inventory/hosts setup.yml --tags=self-check` 1. ignore the errors about federation - - Additional configuration [https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook.md#other-configuration-options](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook.md#other-configuration-options) - - Note that if you remove components from `vars.yml`, or if we switch some component from being installed by default to not being installed by default anymore, you'd need to run the setup command with `--tags=setup-all` instead of `--tags=install-all`. See [Playbook tags introduction](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/installing.md#playbook-tags-introduction)**** - - e. Create your user account, change the command to include your preferred username (``). - - `ansible-playbook -i inventory/hosts setup.yml --extra-vars='username= password= admin=yes' --tags=register-user` + 5. Additional configuration [https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook.md#other-configuration-options](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/configuring-playbook.md#other-configuration-options) + 6. Note that if you remove components from `vars.yml`, or if we switch some component from being installed by default to not being installed by default anymore, you'd need to run the setup command with `--tags=setup-all` instead of `--tags=install-all`. See [Playbook tags introduction](https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/installing.md#playbook-tags-introduction)**** + 7. Create your user account, change the command to include your preferred username (``). + `ansible-playbook -i inventory/hosts setup.yml --extra-vars='username= password= admin=yes' --tags=register-user` 15. In a browser, open our recommended Matrix client, [https://app.schildi.chat/#/login](https://app.schildi.chat/#/login) 1. Click ‘Edit’ and `https://matrix.` into the homeserver field, eg `https://matrix.beeptest.org` then click Continue - 2. Sign in with your username/password created in step 14e + 2. Sign in with your username/password created in step 14.vii 16. Set up each bridge ![CleanShot 2023-01-26 at 23 08 40](https://user-images.githubusercontent.com/1048265/215031550-61f92954-6936-42af-bb4b-a8165e17389e.gif)