I'm setting up tomcat, and change a parameter in a config file as follows:
- name: set max-request-size
lineinfile: dest={{ tomcat_home }}/webapps/manager/WEB-INF/web.xml
regexp="max-request-size"
line="<max-request-size>1000000000</max-request-size>"
Post processing, lines in the target file web.xml now end with a ^M. The
lines that were replaced are fine, e.g.
<multipart-config>^M
<max-request-size>1000000000</max-request-size> <--- OK!
<file-size-threshold>0</file-size-threshold>^M
This is as seen vi, on a RHEL64 system.
What am I doing wrong?
--
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/e9cd90ac-d0a5-403f-ba0b-744a37d058ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.