[ansible-project] Re: Blockinfile triggers every run

2017-06-23 Thread Guy Knights
Actually, never mind - I just realised that the problem is the loop that I've got around each blockinfile task, which will overwrite each item in the list until it reaches the last one. On Fri, Jun 23, 2017 at 3:51 PM, Guy Knights wrote: > I have a blockinfile task that

[ansible-project] Blockinfile triggers every run

2017-06-23 Thread Guy Knights
I have a blockinfile task that sets some lines in /etc/ufw/before.rules, and which notifies handler to reload ufw if the task registers a change. I was running it on a host and noticed that I had the same prerouting rule from before.rules multiple times, so I took a closer look at the task as I

[ansible-project] wait_for_connection: doesn't do the job (as expected)

2017-06-23 Thread Reiner Nippes
Hi, I'm starting two ec2 SLES12 instances with ansible. After they are up the same playbook should configure the machines. So I inculde - name: Wait for connection to wait_for_connection: after the ec2: module. Ansible is waiting for connecting some seconds. That's OK. But the

Re: [ansible-project] Re: Facing Ansible bug & how to use the most recent Ansible branch with fixed code ?

2017-06-23 Thread P
Sorry - I haven't sent any update but after I sent this post did the same test with devel branch and have the same error. Raised a bug: https://github.com/ansible/ansible/issues/25967 On Wednesday, June 21, 2017 at 6:04:30 PM UTC+1, Brian Coca wrote: > > But in your error you were using

[ansible-project] Re: Ansible WinRM Connection 'Connection reset by peer' only when Windows Role ADFS/WAP is Installed and Post Configuration Finished

2017-06-23 Thread 'J Hawkesworth' via Ansible Project
My guess would be that something about these windows server roles causes some kind of reset or restart of some part of the http stack (which WinRM depends on). I know kerberos needs DNS to work properly - the hostname is important for kerberos for reasons I forget, but it needs to be able to