If you look at the bottom of the first post I did ssh to it from the Linux 
command line. It doesn't have a dns name, so I have a host_vars file 
defining the IP, and a group_vars file specifying username & password for 
all the APC gear.  Just to be thorough I did just try with the -u but that 
didn't help (nor does using -k and specifying a password). Unfortunately 
this doesn't support ssh keys so that's not an option.


On Monday, February 2, 2015 at 3:21:35 PM UTC-5, John Oliver wrote:
>
> Can you just 'ssh rack1_pdu'?  Or do you have to 'ssh user@rack1_pdu' and 
> supply a password?
>
> You can add '-u username' to your ansible command line.  Does your PDU 
> support SSH public keys?  I've always used keypairs with ansible, so aren't 
> sure how you'd pass a password along.
>

-- 
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/1b999a08-abfe-4f2d-a72b-9f03d26831d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to