From 61dd0f6b97e47b0d058a39c440f6da3702c69e48 Mon Sep 17 00:00:00 2001 From: holger Date: Wed, 15 Jul 2026 18:33:53 +0200 Subject: [PATCH] new readme --- README.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 550ad8c..ebdc4dc 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,18 @@ # How to use: ## Adding a new user -To create a ssh key pair on the new users PC. +To create a ssh key pair on the new users PC: +```bash ssh-keygen -f new_floss_key + The 'private' part should NEVER leave the user's PC. ( It is a good idea to add a keyphrase to protect the key, if the client PC is ever stolen or hacked.) -you only need: new_floss_key.pub +You only need: new_floss_key.pub -open inventory/group_vars/all/users.yaml -add a new entry: +- open inventory/group_vars/all/users.yaml +- add a new entry: +```yaml - username: alice groups: - ssh_login @@ -19,15 +22,17 @@ add a new entry: - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAA... alice@laptop - replace this ^^^^ line, with new_floss_key.pub... -deploy with: - ansible-playbook site.yaml +### Deploy with: +- ansible-playbook site.yaml -## delete user: -open inventory/group_vars/all/users.yaml -add: +## Delete user: +- open inventory/group_vars/all/users.yaml +- add: +```yaml - username: alice __state: absent__ -and rerun: +- run: +```yaml ansible-playbook site.yaml