basserselim.wordpress_activate
Role Name
This role uses the WordPress command line tool (wordpress-cli) to activate a list of plugins and a specific theme.
Requirements
- WordPress
- WordPress CLI
Role Variables
wordpress_activate_plugins
: a list of plugins to activatewordpress_activate_theme
: the name of the theme to activatewordpress_activate_path
: the directory where WordPress is installed
Example Playbook
Here is an example of how to use this role, with variables provided as parameters:
- hosts: servers
roles:
- role: basserselim.wordpress_activate
wordpress_activate_plugins:
- 'wp-updates-notifier'
- 'rest-api'
wordpress_activate_theme: 'twentyeleven'
wordpress_activate_path: "/var/www/wordpress"
License
BSD
Author Information
Informazioni sul progetto
This roles uses the wordpress-cli to activate a list of plugins and a specified theme
Installa
ansible-galaxy install basserselim.wordpress_activate
Licenza
Unknown
Download
132
Proprietario