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
1f2047cc
Commit
1f2047cc
authored
Oct 03, 2013
by
Skylar Saveland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(docs) result is registered so would be used in the until param of a do-until loop
parent
49afead1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docsite/latest/rst/playbooks_loops.rst
+2
-2
No files found.
docsite/latest/rst/playbooks_loops.rst
View file @
1f2047cc
...
...
@@ -126,7 +126,7 @@ Sometimes you would want to retry a task until a certain condition is met. Here
- action: shell /usr/bin/foo
register: result
until: re
gister
.stdout.find("all systems go") != -1
until: re
sult
.stdout.find("all systems go") != -1
retries: 5
delay: 10
...
...
@@ -141,7 +141,7 @@ can do that in the next task as follows::
- action: shell /usr/bin/foo
register: result
until: re
gister
.stdout.find("all systems go") != -1
until: re
sult
.stdout.find("all systems go") != -1
retries: 5
delay: 10
failed_when: result.attempts == 5
...
...
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