I'm not sure I agree with Abhijit as it seems this could be solved by the authorized_key module knowing when to quote and calling pipes.quote.
On Fri, May 23, 2014 at 7:51 AM, Ruggero Marchei <[email protected]>wrote: > Thanks ams, > > I've tried the workaround suggested by Michael, passing the arguments as > hash members, and it works perfectly! > > > > On Thursday, May 22, 2014 5:42:28 PM UTC+2, ams wrote: > >> At 2014-05-22 05:42:37 -0700, [email protected] wrote: >> > >> > > authorized_key: user=root key="{{ item }}" >> > with_file: >> > - my_key.pub >> > >> > >> > the source key file contains an entry like: >> > from="hostname.domain,10.0.0.*" ssh-rsa AAAAB3NzaCBLAHBLAHBLAH... >> >> This is the same problem described here: >> >> https://github.com/ansible/ansible/issues/6294 >> >> I can confirm that the workaround mentioned on that page (of passing the >> values as a hash instead of key=value) works for me. Unfortunately, per >> the explanation on that page, this is not something that will be fixed. >> >> -- ams >> > -- > 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/b810b7ea-e534-479f-94f3-33e76d3680ed%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/b810b7ea-e534-479f-94f3-33e76d3680ed%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgz%2B0R5NrG%2BRp7fPXEk6S4PQry%2Bv_qzr-efQfg3huugp4Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
