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

Fix Strings Starting With Jinja Templates #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KyleJamesWalker
Copy link

Without quoting the string scala role will not play.

ERROR: Syntax Error while loading YAML script, xxx/scala/tasks/main.yml
Note: The error may actually appear before this position: line 16, column 16

- name: Scala | Add the Scala binary to the system path (/etc/profile)
  lineinfile: {{ item }}
               ^
We could be wrong, but this one looks like it might be an issue with
missing quotes.  Always quote template expression brackets when they
start a value. For instance:

    with_items:
      - {{ foo }}

Should be written as:

    with_items:
      - "{{ foo }}"


Ansible failed to complete successfully. Any error output should be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant