Skip to content
This repository was archived by the owner on Dec 26, 2020. It is now read-only.

Commit 9bee179

Browse files
committed
Rename configuration variables for PAM, GSSAPI, and Kerberos support.
1 parent 7f13313 commit 9bee179

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ Warning: This role disables root-login on the target server! Please make sure yo
3636
|`ssh_allow_tcp_forwarding` | false | false to disable TCP Forwarding. Set to true to allow TCP Forwarding.|
3737
|`ssh_gateway_ports` | `false` | `false` to disable binding forwarded ports to non-loopback addresses. Set to `true` to force binding on wildcard address. Set to `clientspecified` to allow the client to specify which address to bind to.|
3838
|`ssh_allow_agent_forwarding` | false | false to disable Agent Forwarding. Set to true to allow Agent Forwarding.|
39-
|`ssh_pam` | true | true if SSH has PAM support.|
39+
|`ssh_pam_support` | true | true if SSH has PAM support.|
4040
|`ssh_use_pam` | false | false to disable pam authentication.|
41-
|`ssh_gssapi` | true | true if SSH has GSSAPI support.|
42-
|`ssh_kerberos` | true | true if SSH has Kerberos support.|
41+
|`ssh_gssapi_support` | true | true if SSH has GSSAPI support.|
42+
|`ssh_kerberos_support` | true | true if SSH has Kerberos support.|
4343
|`ssh_deny_users` | '' | if specified, login is disallowed for user names that match one of the patterns.|
4444
|`ssh_allow_users` | '' | if specified, login is allowed only for user names that match one of the patterns.|
4545
|`ssh_deny_groups` | '' | if specified, login is disallowed for users whose primary group or supplementary group list matches one of the patterns.|

defaults/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ ssh_gateway_ports: false # sshd
7474
ssh_allow_agent_forwarding: false # sshd
7575

7676
# true if SSH has PAM support
77-
ssh_pam: true
77+
ssh_pam_support: true
7878

7979
# false to disable pam authentication.
8080
ssh_use_pam: false # sshd
@@ -86,10 +86,10 @@ ssh_google_auth: false # sshd
8686
ssh_pam_device: false # sshd
8787

8888
# true if SSH support GSSAPI
89-
ssh_gssapi: true
89+
ssh_gssapi_support: true
9090

9191
# true if SSH support Kerberos
92-
ssh_kerberos: true
92+
ssh_kerberos_support: true
9393

9494
# if specified, login is disallowed for user names that match one of the patterns.
9595
ssh_deny_users: '' # sshd

templates/opensshd.conf.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ IgnoreUserKnownHosts yes
9393
HostbasedAuthentication no
9494

9595
# Enable PAM to enforce system wide rules
96-
{% if ssh_pam -%}
96+
{% if ssh_pam_support -%}
9797
UsePAM {{ 'yes' if (ssh_use_pam|bool) else 'no' }}
9898
{% endif %}
9999
{% if ssh_google_auth %}
@@ -111,15 +111,15 @@ PasswordAuthentication {{ 'yes' if (ssh_server_password_login|bool) else 'no' }}
111111
PermitEmptyPasswords no
112112
ChallengeResponseAuthentication {{ 'yes' if (ssh_challengeresponseauthentication|bool) else 'no' }}
113113

114-
{% if ssh_kerberos -%}
114+
{% if ssh_kerberos_support -%}
115115
# Only enable Kerberos authentication if it is configured.
116116
KerberosAuthentication no
117117
KerberosOrLocalPasswd no
118118
KerberosTicketCleanup yes
119119
#KerberosGetAFSToken no
120120
{% endif %}
121121

122-
{% if ssh_gssapi -%}
122+
{% if ssh_gssapi_support -%}
123123
# Only enable GSSAPI authentication if it is configured.
124124
GSSAPIAuthentication no
125125
GSSAPICleanupCredentials yes

vars/OpenBSD.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sshd_service_name: sshd
22
ssh_owner: root
33
ssh_group: wheel
44

5-
ssh_gssapi: false
6-
ssh_kerberos: false
7-
ssh_pam: false
5+
ssh_gssapi_support: false
6+
ssh_kerberos_support: false
7+
ssh_pam_support: false
88
sshd_moduli: '/etc/moduli'

0 commit comments

Comments
 (0)