FIX: default user is root, ansible is specified manually
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Configure ssh-server daemon
|
||||
remote_user: root
|
||||
copy:
|
||||
src: ../files/hardened_sshd.conf
|
||||
dest: /etc/ssh/sshd_config.d/hardened_sshd.conf
|
||||
@@ -10,6 +9,7 @@
|
||||
|
||||
|
||||
- name: Configure ssh client
|
||||
remote_user: ansible
|
||||
copy:
|
||||
src: ../files/hardened_ssh.conf
|
||||
dest: /etc/ssh/ssh_config.d/hardened_ssh.conf
|
||||
|
||||
Reference in New Issue
Block a user