On Wed, Mar 16, 2016 at 3:57 PM, James Cammarata <[email protected]>
wrote:

> Since the ec2 modules use boto, which doesn't really execute commands,
> your best bet is to run your playbook with the environment variable
> ANSIBLE_KEEP_REMOTE_FILES=1 set, and with -vvv. This will allow you to
> examine the modules left on the target system (most likely localhost) and
> run them directly with your Python debugging method of choice (epdb, etc.).
>
Thanks I will try
Was not aware of ANSIBLE_KEEP_REMOTE_FILES=1




>
> James Cammarata
>
> Ansible Lead/Sr. Principal Software Engineer
> Ansible by Red Hat
> twitter: @thejimic, github: jimi-c
>
> On Wed, Mar 16, 2016 at 3:13 AM, Tzach Livyatan <
> [email protected]> wrote:
>
>> Hello
>> I have a problem with a simple Ansible playbook which launch an EC2
>> instance.
>> The instance configuration is slightly different (different
>> block-device-mapping) when I launch the same AMI from EC2 dashboard.
>> To debug, I would like to see the exact AWS command Ansible/Boto runs.
>> ansible-playbook -vvv option does not provide it, how can I go deeper
>> into the code and traces?
>>
>> Thanks
>> Tzach
>>
>> --
>> 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/8b3563dd-5325-464f-be7b-21e9c16ad257%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/8b3563dd-5325-464f-be7b-21e9c16ad257%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/L-QByuAkm5I/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAMFyvFhZ3n3vhZ3udPbyA4WH9O6MfYMx4uZYpRZZj-YML5XGfA%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAMFyvFhZ3n3vhZ3udPbyA4WH9O6MfYMx4uZYpRZZj-YML5XGfA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAEB7%3D3afSfEi%3DnN2aKnAfOQc-QGPceASa1xGOV-5_S3e83dxzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to