gwenlei.wordpress-wordpress
Role Name
gwenlei.wordpress-wordpress
Requirements
Ubuntu 16.04 Xenial
Role Variables
You can find variable settings in defaults/main.yml:
wp_admin_user
: The username for the WordPress admin. Default isadmin
.wp_cli_bin
: Path to the WP-CLI binary. Default is/usr/bin/wp
.wp_cli_url
: URL to download WP-CLI. Default ishttp://192.168.0.82/downloads/wp-cli.phar
.wp_lang
: Language setting for WordPress. Default isen_US
.wp_version
: Version of WordPress to install. Default is4.6
.wp_root
: The directory where WordPress will be installed. Default is/var/www/html/wordpress
.- (Note: An alternative URL for WP-CLI is commented out.)
Dependencies
This role does not have any dependencies.
Example Playbook
Here is how to use this role in a playbook:
- hosts: servers
roles:
- { role: gwenlei.wordpress-wordpress }
License
This role is licensed under the MIT License.
Author Information
Created by onecloud.