Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
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
ansible
Commits
472c18c2
Commit
472c18c2
authored
Jul 12, 2013
by
Frank Shearar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'prefix' avoids potentially making people confuse 'path' with $PATH.
parent
9ba4a42f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
library/messaging/rabbitmq_plugin
+5
-5
No files found.
library/messaging/rabbitmq_plugin
View file @
472c18c2
...
...
@@ -46,9 +46,9 @@ options:
required: false
default: enabled
choices: [enabled, disabled]
p
ath
:
p
refix
:
description:
- Specify a custom p
ath
to a Rabbit
- Specify a custom p
refix
to a Rabbit
required: false
default: null
'''
...
...
@@ -62,8 +62,8 @@ class RabbitMqPlugins(object):
def
__init__
(
self
,
module
):
self
.
module
=
module
if
module
.
params
[
'p
ath
'
]:
self
.
_rabbitmq_plugins
=
module
.
params
[
'p
ath
'
]
+
"/sbin/rabbitmq-plugins"
if
module
.
params
[
'p
refix
'
]:
self
.
_rabbitmq_plugins
=
module
.
params
[
'p
refix
'
]
+
"/sbin/rabbitmq-plugins"
else
:
self
.
_rabbitmq_plugins
=
module
.
get_bin_path
(
'rabbitmq-plugins'
,
True
)
...
...
@@ -88,7 +88,7 @@ def main():
names
=
dict
(
required
=
True
,
aliases
=
[
'name'
]),
new_only
=
dict
(
default
=
'no'
,
type
=
'bool'
),
state
=
dict
(
default
=
'enabled'
,
choices
=
[
'enabled'
,
'disabled'
]),
p
ath
=
dict
(
required
=
False
,
default
=
None
)
p
refix
=
dict
(
required
=
False
,
default
=
None
)
)
module
=
AnsibleModule
(
argument_spec
=
arg_spec
,
...
...
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