[ { "name": "Set timezone to Berlin", "community.general.timezone": { "name": "Europe/Berlin" } }, { "name": "Limit syslogs", "lineinfile": { "dest": "/etc/systemd/journald.conf", "regexp": "^#?\\s*SystemMaxFileSize", "line": "SystemMaxFileSize=2G" }, "notify": "restart journal" }, { "name": "Set vim as default editor", "alternatives": { "name": "editor", "path": "/usr/bin/vim.basic" } }, { "name": "Disable root login without key", "lineinfile": { "dest": "/etc/ssh/sshd_config", "regexp": "^#?PermitRootLogin ", "line": "PermitRootLogin without-password" }, "notify": "restart sshd" } ]