mirror of
https://github.com/nikdoof/ansible-cis.git
synced 2025-12-23 23:09:26 +00:00
Update to Dimension's version
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
---
|
||||
- name: Set sshd_config file security
|
||||
file:
|
||||
ansible.builtin.file:
|
||||
path: /etc/ssh/sshd_config
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0600"
|
||||
- name: Set SSHD configuration values
|
||||
lineinfile:
|
||||
ansible.builtin.lineinfile:
|
||||
path: /etc/ssh/sshd_config
|
||||
regexp: "^{{ item.key }}"
|
||||
line: "{{ item.key }} {{ item.value }}"
|
||||
|
||||
Reference in New Issue
Block a user