From ff22cb5bb746d9e6382136360fd8ea3a10b357ea Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Fri, 12 Apr 2024 21:11:16 +0000 Subject: [PATCH] Update README.md --- README.md | 2 ++ slococo/playground/README.md | 33 ++++++--------------------------- 2 files changed, 8 insertions(+), 27 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a88254c --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# ansible-playground + diff --git a/slococo/playground/README.md b/slococo/playground/README.md index 8c82348..767ad2c 100644 --- a/slococo/playground/README.md +++ b/slococo/playground/README.md @@ -49,9 +49,11 @@ Include the `local_accounts` role in your playbook and define the `local_users` groups: [primary_group] ``` -### Additional Functionality + -The role also supports configuring passwordless authentication for the local users created. + + + ## Role: ssh_config @@ -71,36 +73,13 @@ Include the `ssh_config` role in your playbook. - name: Configure SSH hosts: target_hosts roles: - - role: MyAutomationCollection.ssh_config + - role: slococo.playground.ssh_config ``` ### SSH Configuration The role ensures the following SSH options are configured with the specified values: + - `PasswordAuthentication`: yes - `PermitEmptyPasswords`: no - `PermitRootLogin`: no - -## Bonus Task: Dry-run (Checkmode) Support - -Both roles support dry-run (checkmode) and are idempotent. - -## Testing - -Test the roles on a test host, such as a local VM. - -## Uploading to Ansible Galaxy - -While not required for this task, the collection is prepared for uploading to Ansible Galaxy or any private Automation Hub. - -## Author - -[Your Name] - -## License - -[License information] - -## Acknowledgments - -[Optional: Any acknowledgments or credits] \ No newline at end of file