Concatenate multiple files in a specific order — Ansible module template and YAML

How to automate the concatenation of multiple files and format using a list in the YAML and Ansible module template with Jinja2 language. Included example with “a.txt”, “b.txt” and “includes.yaml” files for Pandoc.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ansible Pilot

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday