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

The line got outdented one level somehow #95

Merged
merged 1 commit into from
May 1, 2015

Conversation

seankelly
Copy link
Member

Plays are failing:

ERROR: Syntax Error while loading YAML script, /home/bbinfra/repo/jail-bslave1.yml 
Note: The error may actually appear before this position: line 59, column 5        

  service_name: "{{ buildbot_net.slave_service_name }}"                            
    service_dir: "{{ getent_passwd[worker_account].4 }}/{{ buildbot_net.bb_slave_name }}/{{ buildbot_net.bb_slave_dir }}"                                                 
    ^                                                                              
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 }}"                                                                

That's not quite the issue; it's because the previous line isn't indented right.

Make the indents line up to make YAML happy.
@tardyp
Copy link
Member

tardyp commented May 1, 2015

argh! good catch! 👍

sa2ajj pushed a commit that referenced this pull request May 1, 2015
The line got outdented one level somehow
@sa2ajj sa2ajj merged commit 87db5b9 into buildbot:master May 1, 2015
@seankelly seankelly deleted the cursed-indent branch January 10, 2016 04:15
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.

None yet

3 participants