I need to update some files via Ansible playbook.
Normally my playbook would connect to the site where the new files are stored and transfers them.
The question is if there is a way to have the content of the new files integrated inside the playbook to have it bundled together without needing to have a download site.
I think of HTML and images. You can reference to another file or also can have it inlined Base64 encoded.
Just found module copy supports inline data.
- name: Creating a file with content
blabla *** ...
Thats a possible way for me. Maybe there is some better - let me know please.