Hi I have noticed this behaviour when running the windows integration tests. As far as I can tell it is something that has started happening relatively recently. What version of ansible are you using?
Many thanks, Jon On Monday, 29 February 2016 11:39:43 UTC, Chris Bennett wrote: > > Hi there, > > I've just starting hitting some Windows hosts with Ansible & winrm and > when I use the win_template module, it changes every run: > > conf: > ====================================================================== > - name: Install nxlog.conf template > win_template: > src=templates/nxlog/nxlog.conf.tmpl > dest="c:\\Program Files (x86)\\nxlog\\conf\\nxlog.conf" > tags: > - conf > notify: > - restart nxlog > > First run: > ====================================================================== > $ date; time ansible-playbook -i inv -l svrexch13-01.victor.sa.gov.au > win-syslog.yml --tags conf > Mon Feb 29 22:06:54 ACDT 2016 > > PLAY [win] > ********************************************************************* > > TASK [Install nxlog.conf template] > ********************************************* > changed: [svrexch13-01.victor.sa.gov.au] > > PLAY RECAP > ********************************************************************* > svrexch13-01.victor.sa.gov.au : ok=1 changed=1 unreachable=0 > failed=0 > > > real 0m16.140s > user 0m1.207s > sys 0m0.203s > > (confirmed config is correct on remote host) > > > Second run: > ====================================================================== > $ date; time ansible-playbook -i inv -l svrexch13-01.victor.sa.gov.au > win-syslog.yml --tags conf > Mon Feb 29 22:07:19 ACDT 2016 > > PLAY [win] > ********************************************************************* > > TASK [Install nxlog.conf template] > ********************************************* > changed: [svrexch13-01.victor.sa.gov.au] > > PLAY RECAP > ********************************************************************* > svrexch13-01.victor.sa.gov.au : ok=1 changed=1 unreachable=0 > failed=0 > > > real 0m16.150s > user 0m1.206s > sys 0m0.192s > > > Has anyone else observed the same thing? > > Thanks, > > Chris > -- 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/ac827bf5-e50f-4947-b0e2-0e88f8c80863%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
