FIX: default user is root, ansible is specified manually

This commit is contained in:
2026-07-06 15:57:24 +00:00
parent a798d42b42
commit eb268a00fb
4 changed files with 6 additions and 9 deletions
@@ -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