On 05.05.16 19:29 amritha sanath wrote: > - name: copy datadog agent configuration file > lineinfile: dest=/etc/dd-agent/datadog.conf regexp="^dogstreams: " > line="dogstreams: > /root/ddmonitor/pattern.txt:/opt/datadog-agent/agent/checks/libs/parsers.py:parse_web"
What happens if you use a different line? lineinfile: dest=/etc/dd-agent/datadog.conf regexp="^dogstreams: " line="foobar" And, maybe, try using single quotes instead of the double quotes. Johannes -- 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/572C4D50.9020900%40ojkastl.de. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
