diff --git a/common.yml b/common.yml index 4309b1d..9332c58 100644 --- a/common.yml +++ b/common.yml @@ -152,13 +152,15 @@ mode: '0644' # Set vm.swappiness to 5 in /etc/sysctl.conf -- sysctl: - name: vm.swappiness - value: '0' - state: present + - sysctl: + name: vm.swappiness + value: '0' + state: present + sysctl_file: /etc/sysctl.conf + - name: "ssh_hardening" - hosts: thismachine + hosts: localhost connection: local roles: - ssh_hardening