> I think that your only problem is indentation, you have to be careful with 
> it. I used your code and added indentation:
>
>
>  thanks. i used your corrected code and i did not receive the error again.


but now something else is happening. if i run this code only the second ssh 
public key stays in the authorized_keys file.
its placing user-a public key and then replacing it with the public key 
from user-b.

-- 
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/3b88f307-350a-4f2a-a2c3-3d87103d6336%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to