Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
1e513015
Commit
1e513015
authored
Dec 06, 2016
by
George Song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Roll back Firefox to 42
parent
b7c6a238
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletions
+18
-1
playbooks/roles/browsers/defaults/main.yml
+8
-1
playbooks/roles/browsers/tasks/main.yml
+10
-0
No files found.
playbooks/roles/browsers/defaults/main.yml
View file @
1e513015
browser_deb_pkgs
:
browser_deb_pkgs
:
-
dbus-x11
-
dbus-x11
-
firefox=45.0.2+build1-0ubuntu1
-
gdebi
-
google-chrome-stable
-
google-chrome-stable
-
libcurl3
-
libcurl3
-
libgconf2-4
-
libgconf2-4
...
@@ -9,6 +9,13 @@ browser_deb_pkgs:
...
@@ -9,6 +9,13 @@ browser_deb_pkgs:
-
xdg-utils
-
xdg-utils
-
xvfb
-
xvfb
# Firefox
browser_custom_deb_pkgs
:
-
{
name
:
"
firefox_42.0+build2-0ubuntu1_amd64.deb"
,
url
:
"
http://launchpadlibrarian.net/223743022/firefox_42.0+build2-0ubuntu1_amd64.deb"
}
# Chrome and ChromeDriver
# Chrome and ChromeDriver
chrome_repo
:
"
deb
[arch=amd64]
http://dl.google.com/linux/chrome/deb/
stable
main"
chrome_repo
:
"
deb
[arch=amd64]
http://dl.google.com/linux/chrome/deb/
stable
main"
chromedriver_version
:
2.25
chromedriver_version
:
2.25
...
...
playbooks/roles/browsers/tasks/main.yml
View file @
1e513015
...
@@ -15,6 +15,16 @@
...
@@ -15,6 +15,16 @@
apt
:
pkg={{','.join(browser_deb_pkgs)}}
apt
:
pkg={{','.join(browser_deb_pkgs)}}
state=present update_cache=yes
state=present update_cache=yes
-
name
:
download browser debian packages
get_url
:
dest="/tmp/{{ item.name }}" url="{{ item.url }}"
register
:
download_deb
with_items
:
browser_custom_deb_pkgs
-
name
:
install browser debian packages
shell
:
gdebi -nq /tmp/{{ item.name }}
when
:
download_deb.changed
with_items
:
browser_custom_deb_pkgs
-
name
:
download ChromeDriver
-
name
:
download ChromeDriver
get_url
:
get_url
:
url={{ chromedriver_url }}
url={{ chromedriver_url }}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment