fixed ssh_hardening function call
This commit is contained in:
parent
b836975a96
commit
f31119522e
1 changed files with 7 additions and 5 deletions
12
common.yml
12
common.yml
|
@ -152,13 +152,15 @@
|
||||||
mode: '0644'
|
mode: '0644'
|
||||||
|
|
||||||
# Set vm.swappiness to 5 in /etc/sysctl.conf
|
# Set vm.swappiness to 5 in /etc/sysctl.conf
|
||||||
- sysctl:
|
- sysctl:
|
||||||
name: vm.swappiness
|
name: vm.swappiness
|
||||||
value: '0'
|
value: '0'
|
||||||
state: present
|
state: present
|
||||||
|
sysctl_file: /etc/sysctl.conf
|
||||||
|
|
||||||
|
|
||||||
- name: "ssh_hardening"
|
- name: "ssh_hardening"
|
||||||
hosts: thismachine
|
hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
roles:
|
roles:
|
||||||
- ssh_hardening
|
- ssh_hardening
|
||||||
|
|
Loading…
Reference in a new issue