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 dd6d93e51b changed exec user, added staging 2 years ago
roles changed exec user, added staging 2 years ago
README.md security additions 3 years ago
hosts.ini stable single wp 3 years ago
provision.yml changed exec user, added staging 2 years ago
vars.yml changed exec user, added staging 2 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?