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
d6d9e804
Commit
d6d9e804
authored
Jul 11, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3480 from j2sol/fail_doc
Update fail docs for new syntax
parents
5f36079f
16890010
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
library/utilities/fail
+3
-3
No files found.
library/utilities/fail
View file @
d6d9e804
...
...
@@ -24,7 +24,7 @@ module: fail
short_description: Fail with custom message
description:
- This module fails the progress with a custom message. It can be
useful for bailing out when a certain condition is met using C(
only_if
).
useful for bailing out when a certain condition is met using C(
when
).
version_added: "0.8"
options:
msg:
...
...
@@ -38,7 +38,7 @@ author: Dag Wieers
'''
EXAMPLES
=
'''
# Example playbook using fail and
only_if
together
# Example playbook using fail and
when
together
- fail: msg="The system may not be provisioned according to the CMDB status."
only_if: "'$cmdb_status'
!= 'to-be-staged'"
when: "{{ cmdb_status }}
!= 'to-be-staged'"
'''
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