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

This commit is contained in:
Kristian Heljas
2023-01-10 14:58:46 +02:00
committed by GitHub
parent 55f9d7f71f
commit e41d2874a6

View File

@@ -81,7 +81,7 @@ A convenient way of requiring a variable to be overridden is to give it an undef
.. code-block:: yaml+jinja
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)
=======================================================