Skip to content

Commit

Permalink
use standard indentation (#2005)
Browse files Browse the repository at this point in the history
(cherry picked from commit ac793d2)
  • Loading branch information
dwgrth authored and patchback[bot] committed Oct 16, 2024
1 parent 97488fa commit ef2e299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docsite/rst/playbook_guide/playbooks_variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ If you use a variable without quotes like this:

- hosts: app_servers
vars:
app_path: {{ base_path }}/22
app_path: {{ base_path }}/22

You will see: ``ERROR! Syntax Error while loading YAML.`` If you add quotes, Ansible works correctly:

.. code-block:: yaml+jinja

- hosts: app_servers
vars:
app_path: "{{ base_path }}/22"
app_path: "{{ base_path }}/22"

.. _boolean_variables:

Expand Down

0 comments on commit ef2e299

Please sign in to comment.