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
01fea939
Commit
01fea939
authored
Apr 13, 2017
by
Kevin Falcone
Committed by
GitHub
Apr 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3811 from edx/jibsheet/warn-not-fail-rabbitmq
We need to be able to run on sandboxes/devstacks
parents
dc023faf
a4bb5a49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
playbooks/roles/rabbitmq/defaults/main.yml
+0
-4
playbooks/roles/rabbitmq/tasks/main.yml
+3
-3
No files found.
playbooks/roles/rabbitmq/defaults/main.yml
View file @
01fea939
...
...
@@ -11,10 +11,6 @@
# Defaults for role rabbitmq
#
#Setting this to false means we will not check your rabbit version.
#It is not safe to upgrade rabbit in place except for certain minor versions.
CHECK_RABBIT_VERSION
:
true
rabbitmq_app_dir
:
"
{{
COMMON_APP_DIR
}}/rabbitmq"
rabbitmq_data_dir
:
"
{{
COMMON_DATA_DIR
}}/rabbitmq"
rabbitmq_log_dir
:
"
{{
COMMON_LOG_DIR
}}/rabbitmq"
...
...
playbooks/roles/rabbitmq/tasks/main.yml
View file @
01fea939
...
...
@@ -44,9 +44,9 @@
-
"
install"
-
"
install:app-requirements"
-
name
:
Fail
if wrong rabbit version is installed
fail
:
Expected rabbitmq version {{ RABBITMQ_VERSION }}, found {{ installed_version.stdout }}
when
:
CHECK_RABBIT_VERSION and
installed_version.stdout is defined and installed_version.stdout not in [RABBITMQ_VERSION, 'not installed']
-
name
:
Warn
if wrong rabbit version is installed
debug
:
msg="Expected rabbitmq version {{ RABBITMQ_VERSION }}, found {{ installed_version.stdout }} - will not upgrade in place"
when
:
installed_version.stdout is defined and installed_version.stdout not in [RABBITMQ_VERSION, 'not installed']
tags
:
-
"
install"
-
"
install:app-requirements"
...
...
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