using ansible 2.3.2.0 on fedora 26, the vagrant boxes run ubuntu 16.04
slurp fails on tar.gz archives
`
using ansible 2.3.2.0 on fedora 26, the vagrant boxes run ubuntu 16.04
slurp fails on tar.gz archives
`
I have look in to this, b64encode and b64decode only support stings, not binary data.
What you could do on host bob:
- copy:
content: '{{ hostvars.alice.etc.content }}'
dest: /tmp/etc.tgz
mode: 0600
- shell: base64 --decode /tmp/etc.tgz >/root/etc.tgz
- file:
path: /tmp/etc.tgz
state: absent