Directory structures and names changed to be follow the order of creation->provisioning->maintainance
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
- name: Configure ssh-server daemon
|
||||
copy:
|
||||
src: ../files/hardened_sshd.conf
|
||||
dest: /etc/ssh/sshd_config.d/hardened_sshd.conf
|
||||
mode: u=rw,g=r,o=r
|
||||
notify: restart sshd
|
||||
|
||||
|
||||
- name: Configure ssh client
|
||||
remote_user: ansible
|
||||
copy:
|
||||
src: ../files/hardened_ssh.conf
|
||||
dest: /etc/ssh/ssh_config.d/hardened_ssh.conf
|
||||
mode: u=rw,g=r,o=r
|
||||
Reference in New Issue
Block a user