Commit c48e6a28 by Fred Smith

sitespeed role

parent 682fbf54
- name: Deploy Sitespeed.io
hosts: all
sudo: True
gather_facts: True
roles:
- sitespeedio
---
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
##
# Defaults for role sitespeedio
#
#
# vars are namespace with the module name.
#
sitespeedio_role_name: sitespeedio
#
# OS packages
#
sitespeedio_debian_pkgs:
- default-jre
- firefox
- npm
- nodejs-legacy
- xvfb
sitespeedio_redhat_pkgs: []
---
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
# Tasks for role sitespeedio
#
# Overview:
# Install the sitespeed.io package along with it's dependencies.
# See http://sitespeed.io/ for details on running.
#
#
# Dependencies:
# none
#
# Example play:
# role:
# - sitespeedio
#
# Install Sitespeed Dependencies
- name: install sitespeed.io specific system packages
apt: pkg={{','.join(sitespeedio_debian_pkgs)}} state=present
- name: install sitespeed.io
npm: name=sitespeed.io global=yes state=latest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment