imthenachoman / How-To-Secure-A-Linux-Server

An evolving how-to guide for securing a Linux server.
Creative Commons Attribution Share Alike 4.0 International
17.25k stars 1.1k forks source link

Ansible playbook #69

Closed freqmand closed 3 years ago

freqmand commented 3 years ago

the steps are quite long, especially if you need to do it with multiple servers. an Ansible playbook to auto secure the server will be really awesome.

imthenachoman commented 3 years ago

Yeah. I do not know or use Ansible. I only have one machine so for me it is something I only have to do once, when I set the machine up. Plus, doing it manually helps teach.

imthenachoman commented 3 years ago

Plus, I wanted the focus of the guide to be how to install a secure Linux server. You don't need Ansible for that. So I'd rather leave that to another guide for someone to do. I personally would like to see such a guide since I do not know how to use Ansible.

freqmand commented 3 years ago

what about a shell/bash script that automate steps for Debian ?

imthenachoman commented 3 years ago

Yeah, that could be done. I personally don't have a need for it. If I had time I might create one. But since I only reinstall once every two years, there wouldn't be much worth it for me.

thibaultmol commented 8 months ago

For anyone stumbling on this issue, it's been done by someone else and is linked in the official readme: https://github.com/imthenachoman/How-To-Secure-A-Linux-Server#using-ansible-playbooks-to-secure-your-linux-server