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
f34044e8
Commit
f34044e8
authored
May 05, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2843 from jsmartin/devel
Riak module docs and bugfixes.
parents
92c23c85
cf304b43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
library/database/riak
+3
-2
No files found.
library/database/riak
View file @
f34044e8
...
...
@@ -61,7 +61,7 @@ options:
type: 'bool'
wait_for_ring:
description:
- Waits for all nodes to agree
e
on the status of the ring
- Waits for all nodes to agree on the status of the ring
required: false
default: null
aliases: []
...
...
@@ -107,6 +107,7 @@ def ring_check():
def
status_to_json
():
# remove all unnecessary symbols and whitespace
stats
=
''
rc
,
out
,
err
=
module
.
run_command
(
"riak-admin status 2> /dev/null"
)
if
rc
==
0
:
raw_stats
=
out
...
...
@@ -248,7 +249,7 @@ def main():
rc
,
out
,
err
=
module
.
run_command
(
'riak-admin cluster commit
%
s'
%
target_node
)
if
rc
==
0
:
result
[
'commit'
]
=
out
changed
=
True
result
[
'changed'
]
=
True
else
:
module
.
fail_json
(
msg
=
out
)
...
...
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