updat templates to use ansible_managed
This commit is contained in:
parent
84d56caed2
commit
94313cc23e
3 changed files with 4 additions and 5 deletions
|
|
@ -1,3 +1,5 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
# Ensure KnownHosts are unreadable if leaked - it is otherwise easier to know which hosts your keys have access to.
|
||||
HashKnownHosts yes
|
||||
# Host keys the client accepts - order here is honored by OpenSSH
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
### AUTOGENERATED do not edit! edit /inventory/group_vars/all.yml in ansible ###
|
||||
# {{ ansible_managed }}
|
||||
|
||||
{% for name, keys in admin_ssh_keys.items() %}
|
||||
#{{ name }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Package generated configuration file
|
||||
# {{ ansible_managed }}
|
||||
# See the sshd_config(5) manpage for details
|
||||
|
||||
# What ports, IPs and protocols we listen for
|
||||
|
|
@ -49,9 +49,6 @@ Subsystem sftp internal-sftp
|
|||
|
||||
UsePam yes # needed to create home dirs with an ldap login
|
||||
|
||||
AuthorizedKeysCommand /etc/ssh/ldap_sshpubkey.sh
|
||||
AuthorizedKeysCommandUser sshd
|
||||
|
||||
AuthorizedKeysFile /root/.ssh/authorized_keys
|
||||
|
||||
MaxAuthTries 10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue