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
06e4dc5e
Commit
06e4dc5e
authored
7 years ago
by
Kevin Falcone
Committed by
GitHub
7 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4062 from edx/jibsheet/dont-swallow-config-errors
Make edx_service stricter about edx_service_config
parents
935e467f
86b1b276
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
playbooks/roles/edx_service/defaults/main.yml
+6
-0
playbooks/roles/edx_service/tasks/main.yml
+1
-1
No files found.
playbooks/roles/edx_service/defaults/main.yml
View file @
06e4dc5e
...
...
@@ -17,6 +17,12 @@
edx_service_name
:
edx_service
edx_service_repos
:
[]
# A few roles meta this role but don't need a config file written
# this allows them to not pass a config and the tasks will skip
# and not write out a config at all.
edx_service_config
:
{}
#
# OS packages
#
...
...
This diff is collapsed.
Click to expand it.
playbooks/roles/edx_service/tasks/main.yml
View file @
06e4dc5e
...
...
@@ -95,7 +95,7 @@
src
:
"
config.yml.j2"
dest
:
"
{{
COMMON_CFG_DIR
}}/{{
edx_service_name
}}.yml"
mode
:
"
0644"
when
:
edx_service_config
is defined
when
:
edx_service_config
tags
:
-
install
-
install:configuration
...
...
This diff is collapsed.
Click to expand it.
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