Created
May 28, 2014 01:31
-
-
Save jervisliu/fa3eefb2c1523bd14fea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: SSH | Update the ssh security configuration (/etc/ssh/sshd_config) | |
template: src=etc_ssh_sshd_config.j2 dest=/etc/ssh/sshd_config owner=root group=root mode=0644 | |
notify: | |
- restart ssh | |
-------------------- etc_ssh_sshd_config.j2 | |
# Package generated configuration file | |
# See the sshd_config(5) manpage for details | |
{% for key, value in ssh_settings.iteritems() %} | |
{{key|e}} {{value|e}} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment