Update README.md
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details

This commit is contained in:
Santiago Lo Coco 2024-04-16 12:21:12 +02:00
parent d2f3623ea5
commit c3d361c1e7
1 changed files with 10 additions and 0 deletions

View File

@ -54,3 +54,13 @@ Upon successful execution, the playbook will:
- Expiry Date: The account should expire at the end of 2024. - Expiry Date: The account should expire at the end of 2024.
- Home Directory: `/home/local_log` - Home Directory: `/home/local_log`
- Groups: The user should only belong to its primary group. - 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@<IP_ADDRESS_OR_HOSTNAME> -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.