Hello, I have a bunch of plabyooks with tasks that look like this:

- name: xdebug | set ini 
  template: >
    src=xdebug.ini.j2
    dest=/etc/php5/mods-available/xdebug-options.ini

- name: xdebug | add xdebug cli
  template: >
    src=cli_alias.j2
    dest={{ path_php_xdebug }}
    owner=root
    group=root
    mode=0755

However, the destination filename ends up with:

-rw-r--r-- 1 root root  143 Aug  5 23:10 apc.ini?
-rw-r--r-- 1 root root  143 Aug  5 23:10 xdebug-options.ini?

It adds the question mark due to including the line break in the filename. 
Previously all these tasks used to work. I believe I have other issues due 
to the tasks being structured this way. Is this a breaking change?

According to the code format guide, it suggested that long tasks be broken 
into multiple lines like this for better readability. It would be a pain to 
have a one-liner for every task. 

Should this be reported as a bug since its a regression of behavior?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/88415314-1980-4d28-98fc-9d83067b5047%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to