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.
|
|
|
# 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?
|
|
|
|
|