Created
December 8, 2014 22:02
-
-
Save nijotz/b5a2885899ac6dec6bf2 to your computer and use it in GitHub Desktop.
phantomjs salt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set phantomjs_url = 'https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-i686.tar.bz2' %} | |
{% set phantomjs_file = 'phantomjs-1.9.1-linux-i686.tar.bz2' %} | |
{% set phantomjs_folder = 'phantomjs-1.9.1-linux-i686' %} | |
phantomjs: | |
archive: | |
- extracted | |
- name: /usr/local/share/ | |
- source: {{ phantomjs_url }} | |
- source_hash: md5=30ed55d9f81f4017ece2a60577acc063 | |
- archive_format: tar | |
- tar_options: xvj | |
- if_missing: /usr/local/share/{{ phantomjs_folder }} | |
- keep: True | |
- require: | |
- pip: python-pkgs | |
file.symlink: | |
- name: /usr/bin/phantomjs | |
- target: /usr/local/share/{{ phantomjs_folder }}/bin/phantomjs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment