From 5f56f9dcf78c21ad3d557397d620e521b6b39939 Mon Sep 17 00:00:00 2001 From: baptou12 Date: Thu, 21 Dec 2023 11:34:03 +0100 Subject: [PATCH] feat: update `Readme.md` --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a9e899c..3144b1e 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,13 @@ ansible-playbook -i ./inventories/vps.yaml synchronize.yaml A copy of this repository will be created in the folder `/opt/mes-aides` of the server. This repository will be automatically updated and new modifications applied every time an ssh connection is made with the private key associated with the `update_key` defined in the inventory. +Note: +Private and public keys should be generated manually: +- Private should be keys added to Github secrets variable (used [here](https://github.com/betagouv/aides-jeunes-ops/blob/a98dd6711529c3cb139ef13277bc0a6480bee0cc/.github/workflows/pipeline.yaml#L71) for instance) +- Public keys added to `ops.update_key` variable in the inventory + +Warning: Launching the `synchronize.yaml` playbook alone will remove continuous deploiement of server stack. You will need to run the `bootstrap.yaml` playbook again to re-enable it. + ### Bootstrap server stack Run the command `ansible-playbook -i ./inventories/vps.yaml bootstrap.yaml` in order to bootstrap the server basic configuration.