Ansible role to deploy WordPress on the Data.gov platform. This project is part of GSA/datagov-deploy.
This role assumes you've already installed git, nginx, php, php-fpm, and composer. Add this role and its dependencies to your requirements.yml file.
---
- src: https://github.com/GSA/datagov-deploy-wordpress
version: v1.0.0
name: gsa.datagov-deploy-wordpress
- src: geerlingguy.composer
- src: geerlingguy.git
- src: geerlingguy.php
- src: geerlingguy.php-versions
- src: nginxinc.nginx
Install with ansible-galaxy.
$ ansible-galaxy install -r requirements.yml
Example playbook.
---
- name: Deploy wordpress
hosts: all
roles:
- role: geerlingguy.git
- role: geerlingguy.php-versions
- role: geerlingguy.php
- role: geerlingguy.php-mysql
- role: geerlingguy.php-memcached
- role: nginxinc.nginx
- role: software/common/php-fixes
- role: geerlingguy.composer
- role: gsa.datagov-deploy-wordpress
datagov_team_email: team@example.com
Email address for the Data.gov team. Reports are sent to this address.
Install dependencies.
$ pipenv install --dev
Run the tests.
$ pipenv run molecule test --all
For more information on how to use Molecule for development, see our wiki.
See CONTRIBUTING for additional information.
This project is in the worldwide public domain. As stated in CONTRIBUTING:
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.