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
4169f1b0
Commit
4169f1b0
authored
Nov 08, 2013
by
James Tanner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Fixes #4771 Add 1.4.x example of registered var properties to the docsite"
This reverts commit
dc74e700
.
parent
dc74e700
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
docsite/rst/playbooks_variables.rst
+4
-9
No files found.
docsite/rst/playbooks_variables.rst
View file @
4169f1b0
...
...
@@ -144,21 +144,16 @@ The following tasks are illustrative of how filters can be used with conditional
- debug: msg="it failed"
when: result|failed
# in most cases you'll want a handler, but if you want to do something right now, this is nice
- debug: msg="it changed"
when: result|changed
- debug: msg="it succeeded"
when: result|success
- debug: msg="it was skipped"
when: result|skipped
# in most cases you'll want a handler, but if you want to do something right now, this is nice
- debug: msg="it changed"
when: result|changed
# in 1.4 and above, properties of registered variables can be called as well;
# eliminating the need to use filters in some cases.
- debug: msg="it changed"
when: result.changed
.. _forcing_variables_to_be_defined:
Forcing Variables To Be Defined
...
...
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