diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-08-11 00:32:01 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-08-11 00:32:01 +0200 |
| commit | c89c0b2d8af32d6f3f4f2b42efc6a9511fa4aefc (patch) | |
| tree | 43c4e64ec450e05787fa35906d2ec4327b4df09c /roles/ssh/meta | |
| parent | b9b0620b988870525b9972b537b8e22a0c6499af (diff) | |
Add ssh role
Diffstat (limited to 'roles/ssh/meta')
| -rw-r--r-- | roles/ssh/meta/argument_specs.yml | 13 | ||||
| -rw-r--r-- | roles/ssh/meta/main.yml | 16 |
2 files changed, 29 insertions, 0 deletions
diff --git a/roles/ssh/meta/argument_specs.yml b/roles/ssh/meta/argument_specs.yml new file mode 100644 index 00000000..ec1a6942 --- /dev/null +++ b/roles/ssh/meta/argument_specs.yml @@ -0,0 +1,13 @@ +--- +argument_specs: + main: + options: + username: + type: "str" + required: true + description: "The username of the account to add to ssh." + ssh_port: + type: "int" + required: false + default: 2222 + description: "The default ssh port configuration (to avoid port 22 pwn/testing)" diff --git a/roles/ssh/meta/main.yml b/roles/ssh/meta/main.yml new file mode 100644 index 00000000..c4eeebec --- /dev/null +++ b/roles/ssh/meta/main.yml @@ -0,0 +1,16 @@ +--- +dependencies: [] +galaxy_info: + role_name: ssh + author: a14m + description: "Configure distro ssh with hardening" + company: "kartoffeln.work GmbH." + license: "license MIT" + min_ansible_version: "2.18" + platforms: + - name: ArchLinux + versions: + - all + - name: Ubuntu + versions: + - noble |
