Skip to content

Uses the wordpress-cli to activate a list of plugins and a specified theme

Notifications You must be signed in to change notification settings

basserselim/ansible_role_wordpress_activate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role Name

This roles uses the wordpress-cli to activate a list of plugins and a specified theme

Requirements

  • wordpress
  • wordpress-cli

Role Variables

  • wordpress_activate_plugins: a list of plugins to activate
  • wordpress_activate_theme: the name of the theme to activate
  • wordpress_activate_path: the directory where wordpress is installed

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- 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

About

Uses the wordpress-cli to activate a list of plugins and a specified theme

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published