torian.phantomjs

Ansible Role for PhantomJS

Build Status

This Ansible role builds PhantomJS from its source code.

NOTE: Building PhantomJS from source can take a considerable amount of time.

Supported Platforms

  • Ubuntu Trusty
  • CentOS 6
  • Amazon Linux

Default Settings

phantomjs_version:  2.0.0
phantomjs_build_jobs: 4
phantomjs_bin: /usr/local/bin/phantomjs

How to Use

This role will clone the Git repository and install PhantomJS using the version specified by the phantomjs_version variable. The installation will occur in the directory specified by phantomjs_bin.

To install a different version than the default:

---
- hosts: all

  vars:
    - phantomjs_version: 1.9.1

  roles:
    - { role: torian.phantomjs }

If you need to change (either upgrade or downgrade) the version, set phantomjs_force_build to true, preferably using extra_var:

---
- hosts: all

  vars:
    - phantomjs_version:     1.9.8
    - phantomjs_force_build: true

  roles:
    - { role: torian.phantomjs }
Informazioni sul progetto

Ansible role for PhantomJS

Installa
ansible-galaxy install torian.phantomjs
Licenza
Unknown
Download
79k
Proprietario
Ninja Sysadmin, DevOps Monk, Fulltime Dad