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
90655cb7
Commit
90655cb7
authored
Mar 01, 2014
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up examples in the assert docs to match the way things work.
parent
9c18b1a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
library/utilities/assert
+7
-2
No files found.
library/utilities/assert
View file @
90655cb7
...
@@ -29,11 +29,16 @@ options:
...
@@ -29,11 +29,16 @@ options:
that:
that:
description:
description:
- "A string expression of the same form that can be passed to the 'when' statement"
- "A string expression of the same form that can be passed to the 'when' statement"
- "Alternatively, a list of string expressions"
required: true
required: true
author: Michael DeHaan
author: Michael DeHaan
'''
'''
EXAMPLES
=
'''
EXAMPLES
=
'''
- assert: ansible_os_family != "RedHat"
- assert: { that: "ansible_os_family != 'RedHat'" }
- assert: "'foo' in some_command_result.stdout"
- assert:
that:
- "'foo' in some_command_result.stdout"
- "number_of_the_counting == 3"
'''
'''
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