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
785f0c9b
Commit
785f0c9b
authored
Mar 23, 2017
by
Kevin Falcone
Committed by
GitHub
Mar 23, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3775 from edx/jibsheet/multiverse-browsers
ubuntu-restricted-extras requires multiverse
parents
af1c67d4
2e6fb3cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
0 deletions
+29
-0
playbooks/roles/browsers/defaults/main.yml
+10
-0
playbooks/roles/browsers/tasks/main.yml
+19
-0
No files found.
playbooks/roles/browsers/defaults/main.yml
View file @
785f0c9b
# We install at least one package from the multiverse (ubuntu-restricted-extras)
# Ensure that we have it enabled for machines that run the browser role.
multiverse_urls
:
-
'
deb
http://archive.ubuntu.com/ubuntu
{{ansible_distribution_release}}
multiverse'
-
'
deb-src
http://archive.ubuntu.com/ubuntu
{{ansible_distribution_release}}
multiverse'
-
'
deb
http://archive.ubuntu.com/ubuntu
{{ansible_distribution_release}}-updates
multiverse'
-
'
deb-src
http://archive.ubuntu.com/ubuntu
{{ansible_distribution_release}}-updates
multiverse'
-
'
deb
http://archive.ubuntu.com/ubuntu
{{ansible_distribution_release}}-security
multiverse'
-
'
deb-src
http://archive.ubuntu.com/ubuntu
{{ansible_distribution_release}}-security
multiverse'
browser_deb_pkgs
:
-
dbus-x11
-
gdebi
...
...
playbooks/roles/browsers/tasks/main.yml
View file @
785f0c9b
...
...
@@ -12,6 +12,25 @@
-
install
-
install:system-requirements
-
name
:
Add multiverse repos
apt_repository
:
repo
:
"
{{item}}"
update_cache
:
false
# only update when adding new repos
register
:
multiverse_installed
when
:
ansible_distribution == 'Ubuntu'
with_items
:
"
{{
multiverse_urls
}}"
tags
:
-
install
-
install:system-requirements
-
name
:
Update cache when adding multiverse repos
apt
:
update_cache
:
true
when
:
multiverse_installed | changed
tags
:
-
install
-
install:system-requirements
-
name
:
install system packages
apt
:
name
:
"
{{
item
}}"
...
...
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