Hello great people of ansible persuasion,

I'm trying to do some *win_lineinfile *with *backrefs.*

Being a core module, it could be I'm doing it wrong, so here it goes - let 
me know if you have any clue:

      win_lineinfile:
        dest: c:\Windows\System32\inetsrv\config\applicationHost.config
        regexp: '^(.*)<urlCompression \/>$'
        line: '\1<urlCompression doStaticCompression="true" 
doDynamicCompression="true" />'
        state: present
        backrefs: yes
        backup: yes

It's runninng against this

        <urlCompression />

and after execution I end up with this 

\1<urlCompression doStaticCompression="true" doDynamicCompression="true" />

it does the job, but i get the \1 instead of the group of spaces. Am I 
missing anything?



-- 


Brussels · New York · stylelabs.com <http://marketingcontenthub.com/>
------------------------------

*Join our team and help us create and innovate ⓜ Marketing Content Hub, one 
of the most user-friendly content marketing tools on the market.*

Belgium:  Senior Web Developer 
<http://stylelabs.com/en/about-us/jobs/opportunities/javascript-developer/>
  -  Senior Dotnet Developer 
<http://stylelabs.com/en/about-us/jobs/opportunities/senior-net-developer/>
  -  Dotnet Developer 
<http://stylelabs.com/en/about-us/jobs/opportunities/net-developer/>  -  
Project 
Manager 
<http://stylelabs.com/en/about-us/jobs/opportunities/project-manager/>  -  
Solution 
Architect 
<http://stylelabs.com/en/about-us/jobs/opportunities/solution-architect/>
  -  Business Analyst 
<http://stylelabs.com/en/about-us/jobs/opportunities/business-analyst/> 
United States:  Senior Dotnet Developer 
<http://stylelabs.com/en/about-us/jobs/opportunities/net-developer-greater-philadelphia-area/>

-- 
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/2ae8aaa1-7187-4db5-a718-1f93c44a4f38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to