reodered and added functionality
This commit is contained in:
@@ -14,10 +14,17 @@
|
||||
|
||||
- name: system setup | openssh | generate sshd_config file from template
|
||||
tags: openssh,ssh,system,settings
|
||||
template:
|
||||
src: sshd_config.j2
|
||||
dest: /etc/ssh/sshd_config
|
||||
copy:
|
||||
src: system_setup/sshd_custom.conf
|
||||
dest: /etc/ssh/sshd_config.d/custom.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: restart_sshd
|
||||
mode: '0644'
|
||||
|
||||
# template:
|
||||
# src: sshd_config.j2
|
||||
# dest: /etc/ssh/sshd_config
|
||||
# owner: root
|
||||
# group: root
|
||||
# mode: 0644
|
||||
# notify: restart_sshd
|
||||
|
||||
Reference in New Issue
Block a user