From c3d361c1e7bd0d1d54f5e737eb1df6bd01b3109f Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 16 Apr 2024 12:21:12 +0200 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 5dddc6b..7de4056 100644 --- a/README.md +++ b/README.md @@ -54,3 +54,13 @@ Upon successful execution, the playbook will: - Expiry Date: The account should expire at the end of 2024. - Home Directory: `/home/local_log` - Groups: The user should only belong to its primary group. + +Moreover, since the second user has the passwordless option set to true, a key will be created in `/tmp/id_ed25519_local_log` on the Ansible control node. This key, once generated, allows for passwordless login as `local_log`. To initiate such login, simply execute the following command: + +```bash +ssh local_log@ -i /tmp/d_ed25519_local_log +``` + +## Additional note + +Within the `slococo` namespace, you will find two collections: `playground` and `playground_nodeps`. Both serve the same purpose, but the latter is intended for demonstrating how this could be achieved without using dependencies. However, it is not the primary one, as it makes the `local_accounts` role slightly less readable, in my opinion.