mirror of
https://github.com/ansible/ansible.git
synced 2025-12-01 07:26:10 +07:00
Fix undef() example to a valid Jinja template (#79701)
This commit is contained in:
@@ -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)
|
||||
=======================================================
|
||||
|
||||
Reference in New Issue
Block a user