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
2eefffb2
Commit
2eefffb2
authored
Mar 27, 2014
by
e0d
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #938 from edx/e0d/ops-tags
a few tags for task limits.
parents
1d1a03a7
f1a63102
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
playbooks/edx-east/commoncluster.yml
+1
-0
playbooks/roles/rabbitmq/tasks/main.yml
+9
-0
No files found.
playbooks/edx-east/commoncluster.yml
View file @
2eefffb2
...
...
@@ -21,3 +21,4 @@
tasks
:
-
name
:
reboot
command
:
/sbin/shutdown -r now "Reboot is triggered by Ansible"
tags
:
reboot
playbooks/roles/rabbitmq/tasks/main.yml
View file @
2eefffb2
...
...
@@ -76,6 +76,9 @@
-
name
:
add vhosts
rabbitmq_vhost
:
name={{ item }} state=present
with_items
:
RABBITMQ_VHOSTS
tags
:
-
vhosts
-
maintenance
-
name
:
add admin users
rabbitmq_user
:
>
...
...
@@ -87,10 +90,16 @@
-
${rabbitmq_auth_config.admins}
-
RABBITMQ_VHOSTS
when
:
"
'admins'
in
rabbitmq_auth_config"
tags
:
-
users
-
maintenance
-
name
:
make queues mirrored
shell
:
"
/usr/sbin/rabbitmqctl
set_policy
HA
'^(?!amq
\\
.).*'
'{
\"
ha-mode
\"
:
\"
all
\"
}'"
when
:
RABBITMQ_CLUSTERED or rabbitmq_clustered_hosts|length > 1
tags
:
-
ha
-
maintenance
#
# Depends upon the management plugin
...
...
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