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 829d05cd3d fix bug, added new site 3 years ago
roles fix bug, added new site 3 years ago
README.md security additions 3 years ago
hosts.ini stable single wp 3 years ago
provision.yml security additions 3 years ago
vars.yml fix bug, added new site 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?