Thanks Matt.

I am trying to debug the copy module which I am using to transfer an image 
from linux to XP on virtualbox on the same host (for subsequent 
processing). I am using SSH, with ControlPersist, scp_if_ssh and pipelining 
turned on.

When I first copy the file, ~700KB, it takes ~3.5 secs. Subsequently, ie 
when the file exists in the target location, it takes ~1.2 secs.

I understand from debug logs that during the first copy operation, it does 
the copy. And during the overwrite operation, it doesn't as mostly MD5 
checksum says so. What I don't understand is that scp of the same file, 
irrespective of copy or overwrite, takes < 1sec. Why does ansible take so 
long a time?

Any light on the functioning of the copy module is greatly appreciated. The 
only other method I have to overcome this induced delay is doing an scp.

On Sunday, November 9, 2014 4:21:56 AM UTC+5:30, Matt Martz wrote:
>
> Verbosity is actually increased by setting a variable in ansible.utils
>
> Such as:
>
> ansible.utils.VERBOSITY = 4
>
> The value is the NUMBER representation of how many v's you want to specify.
>
> On Sat, Nov 8, 2014 at 3:33 PM, Ethan Collins <[email protected] 
> <javascript:>> wrote:
>
>> I am not yet using playbooks. Calling ansible.runner.Runner from python 
>> to run modules. How can I add verbosity (like using -vvvv when running 
>> ansible from shell) ?
>>
>>  -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/4bd5a5ab-033f-480d-8c57-cabbbab9f755%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/4bd5a5ab-033f-480d-8c57-cabbbab9f755%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Matt Martz
> @sivel
> sivel.net
>  

-- 
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/af47c758-1b51-4bcb-8485-8c9779ba9bf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to