Skip to content

Self-Hosting-101/archlinux_server_hardening_ansible_rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archlinux server hardening Ansible rules

This is a set of Ansible rules to harden an Archlinux server.

Hardening rules are based on the following Guide CIS: CIS_Distribution_Independent_Linux_Benchmark_v2.0.0.pdf

Usage

The host file defines the hosts to apply rules. Change srv with the ip of your server.

Make sure to review the variables in the file harden.yaml.

To apply the rules run the following command.

>_ ansible-playbook harden.yaml -K -e "user=<username>" -k -i hosts

TODO

At this time only ssh is hardened!

About

A set of Ansible rules to harden an Archlinux server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages