On 18.01.17 11:54 Fredrik Rambris wrote:
> Is there a way to tell ansible not to escape the newlines in key ?
I don't know, I would suggest trying the template module to work
around that.
Some jinja2-magic with looping through your keylist should work.
I also thought there was an escape
I'm trying to get around the issue with authorized_keys not having support
for exclusive and with_items. I have a list of keys I want to populate an
authorized_keys file and have ansible remove all others that may be in the
file.
authorized_keys accepts a list of keys if they are supplied as a