Refactor SSH configuration in ansible-apply.yaml and update playbook execution with ECDSA private key

This commit is contained in:
2024-09-24 18:56:17 +02:00
parent caf983b39c
commit 50250c57d2
4 changed files with 23 additions and 3 deletions
@@ -20,9 +20,13 @@
when: ufw_enable
tags:
- ufw
- roles::cis::ufw
- name: Configure sysctl
ansible.builtin.include_tasks: sysctl.yml
tags:
- sysctl
- roles::cis::sysctl
- name: Disable kernel network modules
ansible.builtin.include_tasks: disablenet.yml
@@ -76,6 +80,10 @@
- name: Configure ssh server and client
ansible.builtin.include_tasks: sshconfig.yml
tags:
- ssh
- sshd
- roles::cis::sshd
- name: Configure PAM
ansible.builtin.include_tasks: password.yml