Hi Patrick, We've already had reports of these actually (very very recently) and fixed them and added tests to cover these cases.
We're dropping Ansible 1.7 really really soon (this week) and these will be included as fixes. Stay tuned or feel free to test against the devel branch now if you like. Thank you! --Michael On Tue, Aug 5, 2014 at 7:16 PM, Patrick Heeney <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/ansible-project/88415314-1980-4d28-98fc-9d83067b5047%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgxQTJWCXnMu9e4zGdg4Vz96%3DMGTOnb3Ra36FEoRrwGuOw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
