{"id":27406284,"url":"https://github.com/thetorminal/ansible-wordpress-updates","last_synced_at":"2026-05-15T12:32:39.095Z","repository":{"id":279880142,"uuid":"940298915","full_name":"thetorminal/ansible-wordpress-updates","owner":"thetorminal","description":"Ansible playbook to update wordpress (major, themes and plugins)","archived":false,"fork":false,"pushed_at":"2025-02-28T14:56:58.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T06:31:32.782Z","etag":null,"topics":["ansible","ansible-playbook","wordpress","wordpress-updater"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thetorminal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-02-28T00:00:19.000Z","updated_at":"2025-03-28T21:43:27.000Z","dependencies_parsed_at":"2025-02-28T08:57:00.957Z","dependency_job_id":"79796457-29f9-4d19-8976-c1b37025b5f6","html_url":"https://github.com/thetorminal/ansible-wordpress-updates","commit_stats":null,"previous_names":["thetorminal/ansible-wordpress-updates"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thetorminal/ansible-wordpress-updates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetorminal%2Fansible-wordpress-updates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetorminal%2Fansible-wordpress-updates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetorminal%2Fansible-wordpress-updates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetorminal%2Fansible-wordpress-updates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thetorminal","download_url":"https://codeload.github.com/thetorminal/ansible-wordpress-updates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thetorminal%2Fansible-wordpress-updates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266737568,"owners_count":23976389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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","wordpress","wordpress-updater"],"created_at":"2025-04-14T06:25:30.261Z","updated_at":"2026-05-15T12:32:34.064Z","avatar_url":"https://github.com/thetorminal.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-wordpress-updates\nAnsible playbook to update wordpress (major, themes and plugins).  \n\n## Description\nThis playbook allows you to update multiple wordpress installations - it automatically scans for all wordpress installations at /var/www.  \nBefor the update, it will write a backup of the Database to `/var/www/update-backups`.  \nFor each step (major, plugin and theme updates) it will print the available updates and ask you, if you really want to run the update.  \nWP-CLI is used to run the updates.  \n\nExample:  \n![ansible-wordpress](https://github.com/user-attachments/assets/2f2f2d46-fd46-47e4-a773-9bf879516f38)\n\nTested with:    \n* Debian 12 Server  \n* various Wordpress installations\n\n## Getting Started  \n### Dependencies  \n* Linux server with a wordpress installation\n* [Github - WP-CLI](https://github.com/wp-cli/wp-cli) installed on the host ([Installation Guide](https://github.com/wp-cli/wp-cli?tab=readme-ov-file#installing))   \n* Ansible\n\n### Installing\n\n#### Wordpress-Hosts:\n* Install WP-CLI:\n     ([Installation Guide from WP_CLI](https://github.com/wp-cli/wp-cli?tab=readme-ov-file#installing)):\n     ```sh\n     curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar\n     php wp-cli.phar --info\n     chmod +x wp-cli.phar\n     sudo mv wp-cli.phar /usr/local/bin/wp\n     ```\n     Test, if it was successfull:\n     ```sh\n     wp --info\n     ```\n\n#### Ansible server:\n\n* add the role `wordpress-updates.yml` to your ansible-directory.\n* add the server(s) with the wordpress installation(s) in a ansible host-group named [webserver]\n* run the playbook\n\n## Version History\n* 1.0\n    * Initial Release\n\n## Acknowledgments\n* [Github - WP-CLI](https://github.com/wp-cli/wp-cli)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetorminal%2Fansible-wordpress-updates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthetorminal%2Fansible-wordpress-updates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthetorminal%2Fansible-wordpress-updates/lists"}