{"id":26229984,"url":"https://github.com/spofibo/ansible-wordpress","last_synced_at":"2026-04-13T03:01:41.799Z","repository":{"id":174155778,"uuid":"453727294","full_name":"Spofibo/ansible-wordpress","owner":"Spofibo","description":"Ansible playbook to configure one more secure Wordpress sites","archived":false,"fork":false,"pushed_at":"2024-04-08T18:25:18.000Z","size":143,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-02T12:35:21.426Z","etag":null,"topics":["ansible","ansible-playbook","certbot","cloudflare","nginx","php","vagrant","vagrantfile","wordpress"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Spofibo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-01-30T16:02:00.000Z","updated_at":"2023-07-07T05:57:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"47ad332c-f393-41af-940f-3214717315c8","html_url":"https://github.com/Spofibo/ansible-wordpress","commit_stats":null,"previous_names":["spofibo/ansible-wordpress"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Spofibo/ansible-wordpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spofibo%2Fansible-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spofibo%2Fansible-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spofibo%2Fansible-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spofibo%2Fansible-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Spofibo","download_url":"https://codeload.github.com/Spofibo/ansible-wordpress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spofibo%2Fansible-wordpress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31737849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"online","status_checked_at":"2026-04-13T02:00:06.623Z","response_time":93,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ansible","ansible-playbook","certbot","cloudflare","nginx","php","vagrant","vagrantfile","wordpress"],"created_at":"2025-03-12T22:18:53.215Z","updated_at":"2026-04-13T03:01:41.759Z","avatar_url":"https://github.com/Spofibo.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to ansible-wordpress 👋\n[![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://github.com/spofibo/ansible-wordpress#readme)\n![Prerequisite](https://img.shields.io/badge/ansible-%3E%3D2.11.6-blue.svg)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/spofibo/ansible-wordpress/graphs/commit-activity)\n[![License: AGPL-3.0-or-later](https://img.shields.io/github/license/spofibo/ansible-wordpress)](https://github.com/spofibo/ansible-wordpress/blob/master/LICENSE)\n\n\u003e Ansible playbook to deploy one or more Wordpress instances.\n\nIt installs and configures Nginx, PHP 8.1, and Certbot for the SSL certificates.\nThis playbook **does not** install the database service, and instead it expects variables to connect to a remote database.\n\n- For each site the following will get created\n    - a directory in `/var/www/$NAME` with `www`, `tmp` and `logs` subdirectories\n    - a user associated to the directory above\n    - separate php fpm pools\n- Uses certbot-dns-cloudflare plugin to validate your domains and generate the ssl certificates\n- If you set env=dev it creates self-signed SSL certitifactes\n- You can provide a dhparams.pem file in `roles/nginx/files/dhparams.pem` to be copied, or it will generate one for you (it'll take some time though)\n\n## Requirements\n- [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)\n- [Cloudflare API token](https://developers.cloudflare.com/api/tokens/create) for the sites you want to manage\n\n### Local testing\n- [Virtualbox](https://www.virtualbox.org/wiki/Downloads)\n- [Vagrant](https://www.vagrantup.com/downloads)\n\n## Usage\n\n* Copy `vars.example` to `vars.yaml` and update the configuration paramaters\n* Copy `inventory.example` to `inventory` and update the `servers` section to figure your targeted servers\n* Run\n\n```sh\nansible-playbook -i inventory playbook.yaml\n```\n\n### Local Testing\n\nFor a complete run:\n\n```sh\nvagrant up\n```\n\nTargeting specific vars\n```sh\nvagrant --tags=nginx up\n```\n\nMain available tags\n- system\n- php\n- nginx\n- certbot\n- wordpress\n\n## Author\n\n👤 **Alex Budurovici**\n\n* Website: w0rldart.com\n* Github: [@w0rldart](https://github.com/w0rldart)\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\n\nFeel free to check [issues page](https://github.com/Spofibo/ansible-wordpress/issues). You can also take a look at the [contributing guide](https://github.com/spofibo/ansible-wordpress/blob/master/CONTRIBUTING.md).\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n\n## 📝 License\n\nCopyright © 2022 [Alex Budurovici](https://github.com/w0rldart).\n\nThis project is [AGPL-3.0-or-later](https://github.com/spofibo/ansible-wordpress/blob/master/LICENSE) licensed.\n\n***\n_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspofibo%2Fansible-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspofibo%2Fansible-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspofibo%2Fansible-wordpress/lists"}