You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nareshkumar Rao
3bca425e49
|
3 years ago | |
---|---|---|
roles | 3 years ago | |
README.md | 3 years ago | |
hosts.ini | 3 years ago | |
provision.yml | 3 years ago | |
vars.yml | 3 years ago |
README.md
PSM Server Provisioning
This Ansible Playbook is designed to provision a Debian-based server with the following:
- LAMP Stack (apache2, mariadb)
- Wordpress prerequisites (PHP modules, apache ssl/rewrite, imagemagick)
- Apache configuration
- Provisioning of SSL certificate
- Sets up Firewalld
- Sets up Fail2Ban
- Hardens SSHD (public key only)
Usage
Modify the parameters in vars.yml and specify the host in hosts.ini, then run
ansible-playbook -i hosts.ini ./provision.yml
Note: Root access through public key authentication must be setup on server prior.
To-Do
Provision FTP access?