Fix `undef()` example to a valid Jinja template (#79701)

pull/79721/head
Kristian Heljas 2 years ago committed by GitHub
parent 55f9d7f71f
commit e41d2874a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -81,7 +81,7 @@ A convenient way of requiring a variable to be overridden is to give it an undef
.. code-block:: yaml+jinja .. code-block:: yaml+jinja
galaxy_url: "https://galaxy.ansible.com" galaxy_url: "https://galaxy.ansible.com"
galaxy_api_key: {{ undef(hint="You must specify your Galaxy API key") }} galaxy_api_key: "{{ undef(hint='You must specify your Galaxy API key') }}"
Defining different values for true/false/null (ternary) Defining different values for true/false/null (ternary)
======================================================= =======================================================

Loading…
Cancel
Save