1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_users.git synced 2024-08-16 10:29:50 +02:00

Merge pull request #29 from roles-ansible/sshd

Enable option to modify SSHD Server Key visibility
This commit is contained in:
L3D 2024-08-08 16:31:53 +02:00 committed by GitHub
commit 64e7c3d2cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 1 deletions

View file

@ -106,6 +106,7 @@ There is also the ``l3d_users__ssh_login`` variable which only supports ``name``
| ``l3d_users__sshd_manage_macs`` | ``true`` | Manage Used MACs | | ``l3d_users__sshd_manage_macs`` | ``true`` | Manage Used MACs |
| ``l3d_users__sshd_macs`` | ``['hmac-sha2-512-etm@openssh.com', 'hmac-sha2-256-etm@openssh.com', 'hmac-sha2-512']`` | Used MACs | | ``l3d_users__sshd_macs`` | ``['hmac-sha2-512-etm@openssh.com', 'hmac-sha2-256-etm@openssh.com', 'hmac-sha2-512']`` | Used MACs |
| ``l3d_users__sshd_xforwarding`` |``true`` | Enable X-Forwarding | | ``l3d_users__sshd_xforwarding`` |``true`` | Enable X-Forwarding |
| ``l3d_users__server_key_mode`` | ``0600`` | Mode of SSHD Server keys in Filesystem |
| ``l3d_users__bashrc`` | ``true`` | Configure bashrc | | ``l3d_users__bashrc`` | ``true`` | Configure bashrc |
| ``l3d_users__root_bashrc`` | ``true`` | Set bashrc for root | | ``l3d_users__root_bashrc`` | ``true`` | Set bashrc for root |
| ``l3d_users__dotfiles__bash_completion_enabled`` | ``true`` | Enable bash completion | | ``l3d_users__dotfiles__bash_completion_enabled`` | ``true`` | Enable bash completion |

View file

@ -53,6 +53,7 @@ There is a third directory-variable called ``l3d_users__ssh_login: []`` which on
| ``l3d_users__sshd_manage_macs`` | ``true`` | Manage Used MACs | | ``l3d_users__sshd_manage_macs`` | ``true`` | Manage Used MACs |
| ``l3d_users__sshd_macs`` | ``['hmac-sha2-512-etm@openssh.com', 'hmac-sha2-256-etm@openssh.com', 'hmac-sha2-512']`` | Used MACs | | ``l3d_users__sshd_macs`` | ``['hmac-sha2-512-etm@openssh.com', 'hmac-sha2-256-etm@openssh.com', 'hmac-sha2-512']`` | Used MACs |
| ``l3d_users__sshd_xforwarding`` |``true`` | Enable X-Forwarding | | ``l3d_users__sshd_xforwarding`` |``true`` | Enable X-Forwarding |
| ``l3d_users__server_key_mode`` | ``0600`` | Mode of server keys in Filesystem |
| ``submodules_versioncheck`` | ``false`` | Optionaly enable simple versionscheck of this role | | ``submodules_versioncheck`` | ``false`` | Optionaly enable simple versionscheck of this role |
Example Playbook Example Playbook

View file

@ -92,5 +92,7 @@ l3d_users__sshd_macs:
l3d_users__sshd_xforwarding: true l3d_users__sshd_xforwarding: true
l3d_users__server_key_mode: '0600'
# run simple versionscheck # run simple versionscheck
submodules_versioncheck: false submodules_versioncheck: false

View file

@ -1,5 +1,5 @@
--- ---
playbook_version_number: 7 playbook_version_number: 8
playbook_version_path: 'l3d.users.sshd.version' playbook_version_path: 'l3d.users.sshd.version'
l3d_users_sshd__service_var_path: l3d_users_sshd__service_var_path: