authorized_key key_options error

42 views
Skip to first unread message

DomaNitro

unread,
Mar 26, 2014, 5:00:16 PM3/26/14
to ansible...@googlegroups.com
I am trying to add to the authorized_key key_option the following 

- name: Deploy user
  authorized_key: 
     user="user"
     key="{{user_key}}"
     key_options='no-pty,permitopen="localhost:2313"'

I get msg: invalid option string: no-pty,permitopen=localhost:10050

Should i craft my string in a different way then the authorized_key ?

Michael DeHaan

unread,
Mar 26, 2014, 7:46:36 PM3/26/14
to ansible...@googlegroups.com
There appears to be too much attempt to validation options given in https://github.com/ansible/ansible/blob/devel/library/system/authorized_key#L214

Can you please file a bug on github about this so we can take a look at this?

It is probably being done to determine if it should make a change or not, but it seems to not understand everything it needs to understand.

Thanks!




--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d5e44038-0909-4e6b-89ec-11c47ba642ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

DomaNitro

unread,
Mar 27, 2014, 4:16:10 AM3/27/14
to ansible...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages