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
--
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/97ab896a-ff29-4764-9d07-cff3a7d203dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.