diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-07-31 17:50:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-07-31 17:50:37 +0300 |
commit | 66e7ecebce239a3c59696786fb776f5d729831b1 (patch) | |
tree | a7ec105c55218edc4b350ad8bcc2d660d879079b /roles/sshd/subplot.md | |
parent | 48730af77bfd45478250a52e747b00a36f716e47 (diff) | |
download | debian-ansible-66e7ecebce239a3c59696786fb776f5d729831b1.tar.gz |
sshd: add
Sponsored-by: author
Diffstat (limited to 'roles/sshd/subplot.md')
-rw-r--r-- | roles/sshd/subplot.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/roles/sshd/subplot.md b/roles/sshd/subplot.md new file mode 100644 index 0000000..e86e513 --- /dev/null +++ b/roles/sshd/subplot.md @@ -0,0 +1,27 @@ +# Role `sshd` – configure an SSH server + +This role sets up a Debian system so that it can be managed with +Ansible in a reasonable way. + +## Version history + +### Version 1 + +First version. Supports `sshd_version`, `sshd_port`, `sshd_host_key`, +`sshd_host_cert`, and `sshd_user_ca_pub`. + +# Configure SSH + +~~~scenario +given a host running Debian +when I use role sshd +and I use variables from sshd.yml +and I run the playbook +then stdout contains "sshd role version" +~~~ + +~~~{#sshd.yml .file .yaml} +ansible_python_interpreter: /usr/bin/python3 + +sshd_version: 1 +~~~ |