Adham_H
(Adham H)
1
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 ?
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!
Adham_H
(Adham H)
3