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
18c9e265
Commit
18c9e265
authored
Aug 14, 2013
by
e0d
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Making plugin installation more flexible, installing the management CLI.
parent
b9d6e2ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
playbooks/roles/rabbitmq/tasks/main.yml
+13
-2
playbooks/roles/rabbitmq/vars/main.yml
+4
-0
No files found.
playbooks/roles/rabbitmq/tasks/main.yml
View file @
18c9e265
...
@@ -38,8 +38,9 @@
...
@@ -38,8 +38,9 @@
template
:
src=rabbitmq.config.j2 dest={{rabbitmq_config_dir}}/rabbitmq.config owner=root group=root mode=0644
template
:
src=rabbitmq.config.j2 dest={{rabbitmq_config_dir}}/rabbitmq.config owner=root group=root mode=0644
register
:
cluster_configuration
register
:
cluster_configuration
-
name
:
rabbitmq | add the mangement plugin
-
name
:
rabbitmq | install plugins
rabbitmq_plugin
:
names=rabbitmq_management state=enabled
rabbitmq_plugin
:
names={{",".join(rabbitmq_plugins)}} state=enabled
# When rabbitmq starts up it creates a folder of metadata at '/var/lib/rabbitmq/mnesia'.
# When rabbitmq starts up it creates a folder of metadata at '/var/lib/rabbitmq/mnesia'.
# This folder should be deleted before clustering is setup because it retains data
# This folder should be deleted before clustering is setup because it retains data
...
@@ -65,3 +66,12 @@
...
@@ -65,3 +66,12 @@
state=present
state=present
with_items
:
rabbitmq_auth_config.admins
with_items
:
rabbitmq_auth_config.admins
when
:
"
'admins'
in
rabbitmq_auth_config"
when
:
"
'admins'
in
rabbitmq_auth_config"
#
# Depends upon the management plugin
#
-
name
:
rabbitmq | install admin tools
get_url
:
url=localhost:{{ rabitmq_port }}/cli/rabbitmqadmin
dest=/usr/local/bin/rabbitmqadmin
creates=/usr/local/bin/rabbitmqadmin
\ No newline at end of file
playbooks/roles/rabbitmq/vars/main.yml
View file @
18c9e265
...
@@ -26,3 +26,6 @@ rabbitmq_auth_config:
...
@@ -26,3 +26,6 @@ rabbitmq_auth_config:
rabbitmq_aws_stack_name
:
"
tag_aws_cloudformation_stack-name_"
rabbitmq_aws_stack_name
:
"
tag_aws_cloudformation_stack-name_"
rabbitmq_clustered_hosts
:
[]
rabbitmq_clustered_hosts
:
[]
rabbitmq_plugins
:
-
rabbitmq_management
\ No newline at end of file
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