Please retest against devel/HEAD. There have been a few refactors of 
authorized_key since the 1.4.x releases.

On Jan 2, 2014, at 9:30 AM, Jürgen Haas <[email protected]> wrote:

> Looks like Ansible 1.4.x behaves different form earlier versions with 
> key_options in the module authorized_key. The following task resulted in a 
> proper line in the authorized_keys file but does no longer (tested with 1.4.1 
> and 1.4.3):
> 
> - name: 'Subversion | Install SSH user public keys'
>   authorized_key: user=sshsvn
>                   key="{{lookup('file', inventory_dir + '/files/certs/' + 
> item + '.svn.pub')}}"
>                   key_options='command="/usr/local/bin/svnserve -t 
> --tunnel-user={{item}}",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty'
>   with_items: svn_user
> 
> 
> 
> What happens now is that they key is written to the authorized_keys file but 
> not the leading options anymore. Is this a bug?
> 
> -- 
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to