Last active
August 29, 2015 14:08
-
-
Save dhrrgn/4b7772b4580dcd1b2a42 to your computer and use it in GitHub Desktop.
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
--- | |
- name: Install libfontconfig1 | |
apt: pkg=libfontconfig1 state=installed | |
- name: Download phantomjs | |
get_url: url=https://bitbucket.org/ariya/phantomjs/downloads/{{phantomjs.name}}.tar.bz2 dest=/usr/local/share/{{phantomjs.name}}.tar.bz2 validate_certs=no | |
- name: Unpack phantomjs | |
command: tar xvjf /usr/local/share/{{phantomjs.name}}.tar.bz2 -C /usr/local/share creates=/usr/local/share/{{phantomjs.name}} | |
- name: Move phantomjs | |
command: mv /usr/local/share/{{phantomjs.name}} /usr/local/share/phantomjs creates=/usr/local/share/phantomjs | |
- name: Link phantomjs | |
file: src=/usr/local/share/phantomjs/bin/phantomjs dest=/usr/bin/phantomjs state=link |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment