Joanna - thanks;  I don't see any references to that variable in 
/etc/ansible, and the only places I see it in my playbook directory are 
references to the amazon key name, no files. 

 I think the problem may be orthogonal to what I was thinking of yesterday, 
though.  I tried running my existing Ansible script with the debug output, 
as suggested earlier - this also failed with an SSH key problem.  On 
further investigation, I realized that Ansible Tower provides a credentials 
repository, so, It might 'just work' through the Tower interface.  I was 
hoping to debug my script through the terminal, but since everything else 
we do runs through Tower, I'll try testing through there.


Thanks for the help!

Nate


On Friday, November 13, 2015 at 8:46:39 AM UTC-5, Joanna Delaporte wrote:
>
> I would grep -r your ansible directory for mykeypair. Since it is a 
> variable specified in your playbook, either you need to define that on the 
> command line with extra-vars, or the name of the keypair is written as a 
> variable in a file somewhere (vars file, hosts file,etc).
>
> grep -r "mykeypair" /etc/ansible
>
> Joanna
>
> On Friday, November 13, 2015 at 7:30:10 AM UTC-6, nathan chu wrote:
>>
>> Thanks Brian.  That's some helpful debugging advice.  
>>
>> On Thu, Nov 12, 2015 at 5:30 PM, Brian Coca <[email protected]> wrote:
>>
>>> run ansible with -vvvvv and you should see the full ssh command used,
>>> that should point at a key, if not you likely have an agent or the ssh
>>> user/password info in inventory.
>>>
>>>
>>>
>>> --
>>> Brian Coca
>>>
>>> --
>>> 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/NXRnNNIv5_Q/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/CAJ5XC8mVKJPrQ0rmAUZWkMr-h8zbvVgALfiA9DMhserOUJVgoQ%40mail.gmail.com
>>> .
>>> 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/84d50268-31c3-4832-8573-d1cba714929e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to