Created
November 5, 2014 19:52
-
-
Save ricbra/01f312345da3a426d171 to your computer and use it in GitHub Desktop.
Ansible playbook for Selenium headless on Debian Wheezy
This file contains hidden or 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: Instal Selenium | |
tasks: | |
- apt_repository: repo="deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" state=present | |
- apt_key: id="C1289A29" keyserver=keyserver.ubuntu.com state=present | |
- apt: name=iceweasel state=absent | |
- apt: name={{ item }} state=present update_cache=yes | |
with_items: | |
- firefox-mozilla-build | |
- openjdk-7-jre-headless | |
- xvfb | |
- file: name=/opt/selenium state=directory mode=0755 | |
- get_url: url="http://selenium-release.storage.googleapis.com/2.43/selenium-server-standalone-2.43.1.jar" dest=/opt/selenium/selenium.jar | |
- copy: src=selenium dest=/etc/init.d/selenium mode=0755 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment