Re: [ansible-project] copy module with force=no intermittently reports ok status even when destination file does not exist

2014-03-21 Thread Michael DeHaan
the 'copy' module will report an 'ok' status and *not* copy in the file, despite the fact that the file definitely did not exist when the task was run. I'm highly skeptical here but it's not quite fair for me to claim server gremlins without first using the server gremlins detector, which I

[ansible-project] copy module with force=no intermittently reports ok status even when destination file does not exist

2014-03-20 Thread David Banks
Hey there, I am spawning some VMs using vagrant (CentOS 6.5 images) and copying a file to them. I only want to copy the file if it does not already exist, so that I can repeatedly run my playbooks against the host. My copy task looks like this: - name: Upload the default iptables