mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-12-25 10:00:19 +01:00
Ordering issues
This commit is contained in:
parent
26a0f5e350
commit
b9261337be
3 changed files with 8 additions and 9 deletions
|
@ -2,7 +2,6 @@
|
|||
cat macros.j2
|
||||
|
||||
cat ssh_options |
|
||||
sort |
|
||||
awk '{
|
||||
print "{{ render_option(\""$1"\",sshd_"$1") -}}"
|
||||
}'
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
Port
|
||||
ListenAddress
|
||||
Protocol
|
||||
HostKey
|
||||
AcceptEnv
|
||||
AddressFamily
|
||||
AllowAgentForwarding
|
||||
|
@ -28,7 +32,6 @@ GatewayPorts
|
|||
HPNBufferSize
|
||||
HPNDisabled
|
||||
HostCertificate
|
||||
HostKey
|
||||
HostKeyAgent
|
||||
HostbasedAuthentication
|
||||
HostbasedUsesNameFromPacketOnly
|
||||
|
@ -42,7 +45,6 @@ KerberosOrLocalPasswd
|
|||
KerberosTicketCleanup
|
||||
KexAlgorithms
|
||||
KeyRegenerationInterval
|
||||
ListenAddress
|
||||
LogLevel
|
||||
LoginGraceTime
|
||||
MACs
|
||||
|
@ -58,10 +60,8 @@ PermitTTY
|
|||
PermitTunnel
|
||||
PermitUserEnvironment
|
||||
PidFile
|
||||
Port
|
||||
PrintLastLog
|
||||
PrintMotd
|
||||
Protocol
|
||||
PubkeyAuthentication
|
||||
RSAAuthentication
|
||||
RekeyLimit
|
||||
|
|
|
@ -21,6 +21,10 @@
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
{{ render_option("Port",sshd_Port) -}}
|
||||
{{ render_option("ListenAddress",sshd_ListenAddress) -}}
|
||||
{{ render_option("Protocol",sshd_Protocol) -}}
|
||||
{{ render_option("HostKey",sshd_HostKey) -}}
|
||||
{{ render_option("AcceptEnv",sshd_AcceptEnv) -}}
|
||||
{{ render_option("AddressFamily",sshd_AddressFamily) -}}
|
||||
{{ render_option("AllowAgentForwarding",sshd_AllowAgentForwarding) -}}
|
||||
|
@ -51,7 +55,6 @@
|
|||
{{ render_option("HPNBufferSize",sshd_HPNBufferSize) -}}
|
||||
{{ render_option("HPNDisabled",sshd_HPNDisabled) -}}
|
||||
{{ render_option("HostCertificate",sshd_HostCertificate) -}}
|
||||
{{ render_option("HostKey",sshd_HostKey) -}}
|
||||
{{ render_option("HostKeyAgent",sshd_HostKeyAgent) -}}
|
||||
{{ render_option("HostbasedAuthentication",sshd_HostbasedAuthentication) -}}
|
||||
{{ render_option("HostbasedUsesNameFromPacketOnly",sshd_HostbasedUsesNameFromPacketOnly) -}}
|
||||
|
@ -65,7 +68,6 @@
|
|||
{{ render_option("KerberosTicketCleanup",sshd_KerberosTicketCleanup) -}}
|
||||
{{ render_option("KexAlgorithms",sshd_KexAlgorithms) -}}
|
||||
{{ render_option("KeyRegenerationInterval",sshd_KeyRegenerationInterval) -}}
|
||||
{{ render_option("ListenAddress",sshd_ListenAddress) -}}
|
||||
{{ render_option("LogLevel",sshd_LogLevel) -}}
|
||||
{{ render_option("LoginGraceTime",sshd_LoginGraceTime) -}}
|
||||
{{ render_option("MACs",sshd_MACs) -}}
|
||||
|
@ -81,10 +83,8 @@
|
|||
{{ render_option("PermitTunnel",sshd_PermitTunnel) -}}
|
||||
{{ render_option("PermitUserEnvironment",sshd_PermitUserEnvironment) -}}
|
||||
{{ render_option("PidFile",sshd_PidFile) -}}
|
||||
{{ render_option("Port",sshd_Port) -}}
|
||||
{{ render_option("PrintLastLog",sshd_PrintLastLog) -}}
|
||||
{{ render_option("PrintMotd",sshd_PrintMotd) -}}
|
||||
{{ render_option("Protocol",sshd_Protocol) -}}
|
||||
{{ render_option("PubkeyAuthentication",sshd_PubkeyAuthentication) -}}
|
||||
{{ render_option("RSAAuthentication",sshd_RSAAuthentication) -}}
|
||||
{{ render_option("RekeyLimit",sshd_RekeyLimit) -}}
|
||||
|
|
Loading…
Reference in a new issue