Skip to content

Ansible Playbook to set up a webserver for multiple Wordpress sites.

Notifications You must be signed in to change notification settings

secfigo/ansible-multi-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Wordpress Playbook

Use this ansible playbook to setup a fresh server with the following components:

  • Nginx
  • Nginx Config for WP Super Cache
  • Certbot (Let's Encrypt)
  • MySQL
  • Memcached
  • PHP
  • Directories to deploy multiple Wordpress sites
  • Swapfile (useful for small DO instances)
  • Locales
  • Postfix
  • SSH access via authorized_keys file
  • Tools (tmux, vim, htop, git, wget, curl etc.)

Prerequisites & Config

  1. Rename hosts.example to hosts and modify the contents.
  2. Rename group_vars/all.example to group_vars/all and modify the contentes.

There are a bunch of things you can set in group_vars/all. Don't forget to add your host address to hosts.

Install Playbook

Run ansible-playbook site.yml -i hosts.

About

Ansible Playbook to set up a webserver for multiple Wordpress sites.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published