initial commit

This commit is contained in:
2023-11-19 14:07:39 +03:00
commit 7ece338f9e
7 changed files with 725 additions and 0 deletions

23
README.md Normal file
View File

@@ -0,0 +1,23 @@
# ssh-protect
Role for disabling ssh password authorization and setting the i attribute on the file `/root/.ssh/authorized_keys`.
## Deploy example
```yaml
roles:
- role: ssh-protect
ssh_protect_root_public_keys:
- KEY1
- KEY2
...
- KEYN
```
## Available parameters
### Main
| Param | Default | Description |
| -------- | -------- | -------- |
| `ssh_protect_root_public_keys` | `-` | Root ssh keys. |