Commit e2c981acfe57930274b9ef91f228ac4e2849d0eb

Authored by Alexandre Chapellon
1 parent 9385ebce28
Exists in master and in 1 other branch rheltarget

Firefox install should use tarball from mozilla instead of package manager

yml/roles/selenium/tasks/packages.yml
... ... @@ -4,6 +4,15 @@
4 4 name: "{{ item }}"
5 5 with_items:
6 6 - xvfb
7   - - "{{ firefox_pkg }}"
8 7 when: ansible_pkg_mgr == "apt"
9 8  
  9 +- name: Firefox installation
  10 + unarchive:
  11 + src: https://ftp.mozilla.org/pub/firefox/releases/44.0/linux-x86_64/en-GB/firefox-44.0.tar.bz2
  12 + dest: /opt/
  13 + remote_src: yes
  14 + creates: /opt/firefox/firefox
  15 +
  16 +- name: Add Firefox binary in PATH
  17 + file: state=link dest=/usr/bin/firefox src=/opt/firefox/firefox
  18 +
... ...
yml/roles/selenium/vars/centos.yml
... ... @@ -1 +0,0 @@
1   -firefox_pkg: firefox
yml/roles/selenium/vars/debian.yml
... ... @@ -1 +0,0 @@
1   -firefox_pkg: firefox-esr
yml/roles/selenium/vars/redhat.yml
... ... @@ -1 +0,0 @@
1   -firefox_pkg: firefox
yml/roles/selenium/vars/ubuntu.yml
... ... @@ -1 +0,0 @@
1   -firefox_pkg: firefox