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.

Reply via email to