Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
What would you like to do?
- name: Install libfontconfig1
apt: pkg=libfontconfig1 state=installed
- name: Download phantomjs
get_url: url={{}}.tar.bz2 dest=/usr/local/share/{{}}.tar.bz2 validate_certs=no
- name: Unpack phantomjs
command: tar xvjf /usr/local/share/{{}}.tar.bz2 -C /usr/local/share creates=/usr/local/share/{{}}
- name: Move phantomjs
command: mv /usr/local/share/{{}} /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
You can’t perform that action at this time.