Refactor SSH configuration in ansible-apply.yaml and update playbook execution with ECDSA private key
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user