Dear all,

I am not an expert on base64, but I guess this might be similar to
this issue:
<https://github.com/ansible/ansible/issues/5262>

I have a variable myvariable that contains a base64-encoded string
generated by this command:

cat binary_file | base64

I then use the copy-module to create the binary file:

copy: content="{{ myvariable | b64decode }}" ...

I then get a different file than what I had before, and it seems it is
just one character that is added.

I also tried to add "...|trim" to content=..., but to no avail.

Any hints?

Johannes

-- 
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/e950dbf6-25a9-3008-8702-fbe4a212f575%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to