Skip to content
This repository has been archived by the owner on Aug 18, 2022. It is now read-only.

sbaerlocher/ansible.wp-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: WP-CLI

Build Status license Ansible Galaxy

Description

Ansible role for installing WP-CLI, a command line interface for WordPress.

Installation

ansible-galaxy install sbaerlocher.wp-cli

Requirements

None

Role Variables

Variable Default Comments (type)
wp_cli_phar_url https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar Location of the WP-CLI phar to download
wp_cli_bin_path /usr/bin/{{ wp_cli_bin_command }} Location to store WP-CLI on remote machine
wp_cli_bin_command wp WP-CLI Coomand on remote machine
wp_cli_packages List of WP-CLI packages for Installing

Dependencies

None

Example Playbook

- hosts: all
  roles:
     - sbaerlocher.wp-cli

Changelog

1.3

  • new role test

1.2

  • add WP-CLI package installer

1.1

  • add travis
  • fix travis problems

1.0

  • Initial release

Author

License

This project is under the MIT License. See the LICENSE file for the full license text.

Copyright

(c) 2018, Simon Bärlocher

About

Ansible role for installing WP-CLI, a command line interface for WordPress.

Resources

License

Stars

Watchers

Forks

Packages

No packages published