diff options
Diffstat (limited to 'playbooks.d')
-rw-r--r-- | playbooks.d/ssh/playbook.bash | 4 | ||||
-rw-r--r-- | playbooks.d/ssh/share/motd.satpl (renamed from playbooks.d/ssh/share/motd) | 0 | ||||
-rw-r--r-- | playbooks.d/ssh/share/sshd_config.satpl (renamed from playbooks.d/ssh/share/sshd_config.bpt) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/playbooks.d/ssh/playbook.bash b/playbooks.d/ssh/playbook.bash index 066d099..66d5963 100644 --- a/playbooks.d/ssh/playbook.bash +++ b/playbooks.d/ssh/playbook.bash @@ -13,7 +13,7 @@ playbook_add() { playbook_sync() { info "$BASHTARD_PLAYBOOK" "Templating sshd_config" - file_template "sshd_config.bpt" \ + file_template "sshd_config.satpl" \ "sftp=$(config "ssh.sftp")" \ > /etc/ssh/sshd_config @@ -26,7 +26,7 @@ playbook_sync() { fi info "$BASHTARD_PLAYBOOK" "Generating MotD" - file_template "motd" \ + file_template "motd.satpl" \ "fqdn=${BASHTARD_PLATFORM[fqdn]}" \ "time=$(date -u "+%FT%T")" \ > /etc/motd diff --git a/playbooks.d/ssh/share/motd b/playbooks.d/ssh/share/motd.satpl index 7fc4e34..7fc4e34 100644 --- a/playbooks.d/ssh/share/motd +++ b/playbooks.d/ssh/share/motd.satpl diff --git a/playbooks.d/ssh/share/sshd_config.bpt b/playbooks.d/ssh/share/sshd_config.satpl index f1976a5..900ed34 100644 --- a/playbooks.d/ssh/share/sshd_config.bpt +++ b/playbooks.d/ssh/share/sshd_config.satpl @@ -8,7 +8,7 @@ ListenAddress :: PrintMotd yes # SFTP -Subsystem sftp {{sftp}} +Subsystem sftp ${sftp} # Authentication AuthorizedKeysFile /etc/ssh/authorized_keys .ssh/authorized_keys |