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
edx
configuration
Commits
3bc7b6e7
Commit
3bc7b6e7
authored
Dec 22, 2015
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do the same action(ppa adding) using with_items
parent
f52ca2ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
playbooks/roles/common/tasks/main.yml
+8
-8
No files found.
playbooks/roles/common/tasks/main.yml
View file @
3bc7b6e7
...
...
@@ -21,17 +21,15 @@
keyserver
:
"
{{
COMMON_EDX_PPA_KEY_SERVER
}}"
state
:
"
present"
# Ensure that we get a current version of Git
# Ensure that we get a current version of Git
and latest version of python 2.7
# GitHub requires version 1.7.10 or later
# https://help.github.com/articles/https-cloning-errors
-
name
:
Add git apt repository
apt_repository
:
repo
:
"
{{
common_git_ppa
}}"
# We use this PPA to get the latest version of python 2.7
-
name
:
Add edx apt repository
apt_repository
:
repo
:
"
{{
COMMON_EDX_PPA
}}"
repo
:
"
{{
item
}}"
with_items
:
-
"
{{
common_git_ppa
}}"
-
"
{{
COMMON_EDX_PPA
}}"
-
name
:
Install role-independent useful system packages
# do this before log dir setup; rsyslog package guarantees syslog user present
...
...
@@ -102,6 +100,8 @@
# TODO: restarts no matter which template has changed, need to examine
# the results
-
name
:
restart rsyslogd
service
:
name=rsyslog state=restarted
service
:
name
:
rsyslog
state
:
restarted
sudo
:
True
when
:
config_templates.changed
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