{"id":16779788,"url":"https://github.com/petermosmans/ansible-role-wordpress","last_synced_at":"2026-01-03T12:10:18.079Z","repository":{"id":75894984,"uuid":"76524715","full_name":"PeterMosmans/ansible-role-wordpress","owner":"PeterMosmans","description":"Install, configure and update WordPress and its plugins","archived":false,"fork":false,"pushed_at":"2016-12-15T05:14:10.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T06:29:12.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PeterMosmans.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}},"created_at":"2016-12-15T04:45:40.000Z","updated_at":"2022-02-04T15:24:42.000Z","dependencies_parsed_at":"2023-07-12T00:16:23.549Z","dependency_job_id":null,"html_url":"https://github.com/PeterMosmans/ansible-role-wordpress","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fansible-role-wordpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fansible-role-wordpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fansible-role-wordpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterMosmans%2Fansible-role-wordpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterMosmans","download_url":"https://codeload.github.com/PeterMosmans/ansible-role-wordpress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243924055,"owners_count":20369647,"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","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-10-13T07:32:22.187Z","updated_at":"2026-01-03T12:10:18.036Z","avatar_url":"https://github.com/PeterMosmans.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Ansible Role: wordpress\n=========\n\nBuild status for this role: [![Build Status](https://travis-ci.org/PeterMosmans/ansible-role-wordpress.svg)](https://travis-ci.org/PeterMosmans/ansible-role-wordpress)\n\nThis role installs, configures and/or updates WordPress.\n\nRequirements\n------------\n\nMySQL, and Apache2.\n\nRole Variables\n--------------\n\nAvailable variables are listed below, along with their default values. The defaults can be found in ```defaults/main.yml```.\n\n**wordpress_sites**: A list with WordPress sites, their database (db_name), database username (db_user)  and  password (db_password), source directory (src) and installed plugins. Example:\n```\n  wordpress_sites:\n    - name: mywebsite\n      src: /var/www/mywebsite\n      db_name: mydatabase\n      db_user: mydatabaseuser\n      db_password: mydatabasepassword\n      plugins:\n        - akismet\n        - google-captcha\n```\n\nNote that you'll need to have the websites configured for the PeterMosmans.apache2 role. Example:\n```\napache2_websites:\n  - src: ../../myrole/files\n    name: www.mysite.com.conf\n```\n\n**wordpress_remove**: A list of files which will be forcibly removed after installing WordPress. Default:\n```\nwordpress_remove:\n  - readme.html\n  - license.txt\n  - wp-config-sample.php\n  - wp-content/plugins/hello.php\n  - wp-content/themes/twentyeleven\n  - wp-content/themes/twentyfifteen\n  - wp-content/themes/twentyfourteen\n  - wp-content/themes/twentythirteen\n  - wp-content/themes/twentytwelve\n```\n\n**www_group**: The group under which the webserver runs (reads content). Default:\n```\nwww_group: www-data\n```\n\nDependencies\n------------\n\nPeterMosmans.apache2\n\n\nExample Playbook\n----------------\n```\n- hosts: all\n  become: yes\n  become_method: sudo\n  roles:\n    - role: PeterMosmans.apache2\n    - role: PeterMosmans.wordpress\n  vars:\n    - wordpress_sites:\n      - name: mywebsite\n        src: /var/www/mywebsite\n        db_name: mydatabase\n        db_user: mydatabaseuser\n        db_password: mydatabasepassword\n        plugins:\n          - akismet\n          - google-captcha\n```\n\n\nUse the `--tags update` to perform an update of the WordPress installation, as well as all plugins.\n\nLicense\n-------\nGPLv3\n\n\nAuthor Information\n------------------\nCreated by Peter Mosmans. Feedback always welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermosmans%2Fansible-role-wordpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetermosmans%2Fansible-role-wordpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetermosmans%2Fansible-role-wordpress/lists"}