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 | e1919c8d12d61a5b454d6a3372caa21c6d436dcd (patch) | |
| tree | 43c4e64ec450e05787fa35906d2ec4327b4df09c /roles/ssh/meta | |
| parent | c3759bbd12585643b02c1d0108e778038d0e6d26 (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 |
