Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordpress setup via Ansible

Usage

export RDS_USERNAME=<your db username>
export RDS_PASSWORD=<your db password
export RDS_DATABASE_NAME=<your database name>_prod
ansible-playbook -i prod site.yml

Idempotency

When creating instances, use the id to ensure idempotency to avoid creating multiple servers. When removing an instance and adding it again, this id needs to change, too.

id: "{{ application }}-{{ item }}-1"

TODO

  • add NFS configuration so if you'd upload a wordpress plugin, it's available on all hosts, to avoid missing files on the other hosts
  • pull template changes from github
  • install wordpress plugins required by the template

About

An ansible managed wordpress installation

Resources

Stars

0 stars

Watchers

24 watching

Forks

Releases

Packages

Contributors