bower

Build Status

Role Name

Install Bower and trigger to install packages.

Requirements

Ansible >= 1.2

Better is linux

Role Variables

Name Default Description
bower_packages [] (empty list) List packages that you want to install. It supports bower.json and package's name

Each item in packages are defined in http://docs.ansible.com/ansible/bower_module.html

Example installation stanalone package:

bower_packages:
- name: bootstrap 

Example installation from package.json

bower_packages:
- path: /srv/my-website

Dependencies

Please install NPM before using this role. You can check with https://galaxy.ansible.com/ledongthuc/npm/

Example Playbook

- hosts: all 
  roles:
  - role: ledongthuc.bower
    bower_packages:
    - name: bootstrap
    - path: /srv/my-website

License

Apache 2.0

Author Information

Thuc Le - ledongthuc[at]gmail.com

About

Install Bower and trigger to install packages

Install
ansible-galaxy install ledongthuc/ansible.bower
GitHub repository
License
apache-2.0
Downloads
34
Owner