bower

ansible-bower

A Ansible role to manage Bower packages

Parameters

Name Default Description
bower_executable ./node_modules/.bin/bower Location of a bower command
state present Operation to do
* present - install package(s)
* absent - uninstall package(s)
pkg Package(s) to install
chdir . Location of a bower.json file

Examples

# Install all from bower.json
- tomi77.bower

# Install using global bower
- role: tomi77.bower
  executable: bower

# Install lodash package
- role: tomi77.bower
  pkg: lodash

# Uninstall lodash package
- role: tomi77.bower
  pkg: lodash
  state: absent

# Specify bower.json location
- role: tomi77.bower
  chdir: /location/of/bower/json/file
Install
ansible-galaxy install tomi77/ansible-bower
GitHub repository
License
mit
Downloads
22
Owner
Owner of @go-loremipsum @go-passwd @protobuf-gis @gosoap