{"id":21678449,"url":"https://github.com/petervanderdoes/ansible-vagrant-wordpress","last_synced_at":"2026-04-11T10:35:20.428Z","repository":{"id":143037490,"uuid":"60485806","full_name":"petervanderdoes/ansible-vagrant-wordpress","owner":"petervanderdoes","description":"Ansible playbooks for a WordPress LEMP stack.","archived":false,"fork":false,"pushed_at":"2016-06-05T23:38:20.000Z","size":659,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2026-01-03T16:30:38.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/petervanderdoes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-05T23:24:09.000Z","updated_at":"2019-05-02T16:54:27.000Z","dependencies_parsed_at":"2023-07-09T12:16:10.140Z","dependency_job_id":null,"html_url":"https://github.com/petervanderdoes/ansible-vagrant-wordpress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/petervanderdoes/ansible-vagrant-wordpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fansible-vagrant-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fansible-vagrant-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fansible-vagrant-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fansible-vagrant-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/petervanderdoes","download_url":"https://codeload.github.com/petervanderdoes/ansible-vagrant-wordpress/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/petervanderdoes%2Fansible-vagrant-wordpress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T14:34:29.901Z","updated_at":"2026-04-11T10:35:20.378Z","avatar_url":"https://github.com/petervanderdoes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trellis\n\n[![Build Status](https://travis-ci.org/roots/trellis.svg)](https://travis-ci.org/roots/trellis)\n\nAnsible playbooks for setting up a LEMP stack for WordPress.\n\n- Local development environment with Vagrant\n- High-performance production servers\n- One-command deploys for your [Bedrock](https://roots.io/bedrock/)-based WordPress sites\n\n## What's included\n\nTrellis will configure a server with the following and more:\n\n* Ubuntu 14.04 Trusty LTS\n* Nginx (with optional FastCGI micro-caching)\n* PHP 7.0\n* MariaDB (a drop-in MySQL replacement)\n* SSL support (scores an A+ on the [Qualys SSL Labs Test](https://www.ssllabs.com/ssltest/))\n* Let's Encrypt integration for free SSL certificates\n* HTTP/2 support (requires SSL)\n* Composer\n* WP-CLI\n* sSMTP (mail delivery)\n* MailHog\n* Memcached\n* Fail2ban\n* ferm\n\n## Requirements\n\nMake sure all dependencies have been installed before moving on:\n\n* [Ansible](http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-pip) \u003e= 2.0.2\n* [Virtualbox](https://www.virtualbox.org/wiki/Downloads) \u003e= 4.3.10\n* [Vagrant](http://www.vagrantup.com/downloads.html) \u003e= 1.5.4\n* [vagrant-bindfs](https://github.com/gael-ian/vagrant-bindfs#installation) \u003e= 0.3.1 (Windows users may skip this)\n* [vagrant-hostmanager](https://github.com/smdahlen/vagrant-hostmanager#installation)\n\n## Installation\n\nThe recommended directory structure for a Trellis project looks like:\n\n```shell\nexample.com/      # → Root folder for the project\n├── trellis/      # → Your clone of this repository\n└── site/         # → A Bedrock-based WordPress site\n    └── web/\n        ├── app/  # → WordPress content directory (themes, plugins, etc.)\n        └── wp/   # → WordPress core (don't touch!)\n```\n\nSee a complete working example in the [roots-example-project.com repo](https://github.com/roots/roots-example-project.com).\n\n1. Create a new project directory: `$ mkdir example.com \u0026\u0026 cd example.com`\n2. Clone Trellis: `$ git clone --depth=1 git@github.com:roots/trellis.git \u0026\u0026 rm -rf trellis/.git`\n3. Clone Bedrock: `$ git clone --depth=1 git@github.com:roots/bedrock.git site \u0026\u0026 rm -rf site/.git`\n4. Install the Ansible Galaxy roles: `$ cd trellis \u0026\u0026 ansible-galaxy install -r requirements.yml`\n\nWindows user? [Read the Windows docs](https://roots.io/trellis/docs/windows/) for slightly different installation instructions. VirtualBox is known to have poor performance in Windows — use VMware or [see some possible solutions](https://discourse.roots.io/t/virtualbox-performance-in-windows/3932).\n\n## Documentation\n\nTrellis documentation is available at [https://roots.io/trellis/docs/](https://roots.io/trellis/docs/).\n\n## Local development setup\n\n1. Configure your WordPress sites in `group_vars/development/wordpress_sites.yml` and in `group_vars/development/vault.yml`\n2. Run `vagrant up`\n\n[Read the local development docs](https://roots.io/trellis/docs/local-development-setup/) for more information.\n\n## Remote server setup (staging/production)\n\nA base Ubuntu 14.04 server is required for setting up remote servers.\n\n1. Configure your WordPress sites in `group_vars/\u003cenvironment\u003e/wordpress_sites.yml` and in `group_vars/\u003cenvironment\u003e/vault.yml` (see the [Vault docs](https://roots.io/trellis/docs/vault/) for how to encrypt files containing passwords)\n2. Add your server IP/hostnames to `hosts/\u003cenvironment\u003e`\n3. Specify public SSH keys for `users` in `group_vars/all/users.yml` (see the [SSH Keys docs](https://roots.io/trellis/docs/ssh-keys/))\n4. Run `ansible-playbook server.yml -e env=\u003cenvironment\u003e` to provision the server\n\n[Read the remote server docs](https://roots.io/trellis/docs/remote-server-setup/) for more information.\n\n## Deploying to remote servers\n\n1. Add the `repo` (Git URL) of your Bedrock WordPress project in the corresponding `group_vars/\u003cenvironment\u003e/wordpress_sites.yml` file\n2. Set the `branch` you want to deploy\n3. Run `./deploy.sh \u003cenvironment\u003e \u003csite name\u003e`\n4. To rollback a deploy, run `ansible-playbook rollback.yml -e \"site=\u003csite name\u003e env=\u003cenvironment\u003e\"`\n\n[Read the deploys docs](https://roots.io/trellis/docs/deploys/) for more information.\n\n## Contributing\n\nContributions are welcome from everyone. We have [contributing guidelines](CONTRIBUTING.md) to help you get started.\n\n## Community\n\nKeep track of development and community news.\n\n* Participate on the [Roots Discourse](https://discourse.roots.io/)\n* Follow [@rootswp on Twitter](https://twitter.com/rootswp)\n* Read and subscribe to the [Roots Blog](https://roots.io/blog/)\n* Subscribe to the [Roots Newsletter](https://roots.io/subscribe/)\n* Listen to the [Roots Radio podcast](https://roots.io/podcast/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetervanderdoes%2Fansible-vagrant-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetervanderdoes%2Fansible-vagrant-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetervanderdoes%2Fansible-vagrant-wordpress/lists"}