Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove gendered example #70117

Merged
merged 1 commit into from Jun 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docsite/rst/user_guide/playbooks_filters.rst
Expand Up @@ -76,7 +76,7 @@ Defining different values for true/false/null

You can create a test, then define one value to use when the test returns true and another when the test returns false (new in version 1.9)::

{{ (name == "John") | ternary('Mr','Ms') }}
{{ (status == "needs_restart") | ternary('restart', 'continue') }}

In addition, you can define a one value to use on true, one value on false and a third value on null (new in version 2.8)::

Expand Down