Hello:
This:
- name: reconfigure suexec path in httpd spec
lineinfile: dest=/root/rpmbuild/SPECS/httpd.spec regexp='^.*--with-suexec-docroot=.*' line=' --with-suexec-docroot=/home \' insertafter='^.*--with-suexec-caller=.*'
when: suexec_output|changed
Is throwing this error:
ERROR: There was an error while parsing the task "lineinfile dest=/root/rpmbuild/SPECS/httpd.spec regexp='^.*--with-suexec-docroot=.*' line=' --with-suexec-docroot=/home \\' insertafter='^.*--with-suexec-caller=.*'".
Make sure quotes are matched or escaped properly
I've tried escaping the backslash, using single quotes, double quotes, and I just can't find the right combination. I need it to use literal string below, including the backslash.
--with-suexec-docroot=/home \
Whats the correct syntax for this?
Doug