Concatenate multiple files in a specific order - Ansible module template and YAML
Nov 3, 2022
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.
https://www.ansiblepilot.com/articles/concatenate-multiple-files-in-a-specific-order-ansible-module-template-and-yaml/
Timestamps
00:00 Introduction
00:37 ansible.builtin.template Ansible module
01:48 parameters of ansible.builtin.template
03:30 template module demo playbook
07:09 concatenate.j2
09:30 template module execution and verification
11:16 Recap
FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress - http://eepurl.com/hJv3j9
BUY the Complete PDF BOOK to easily Copy and Paste the 200+ Ansible code
200+ Automation Examples For Linux and Windows System Administrator and DevOps
https://leanpub.com/ansiblebyexamples
my VIDEO COURSE: Ansible by Examples
200+ Automation Examples For Linux and Windows System Administrator and DevOps
Show More Show Less 