InstallerExpert created the topic: Use of Merge Module
Reposting this question :
Is it possible to use the same merge module twice in the same source file.
The above code is giving error:
Error 1 The merge module ‘merge2’ contains a file identifier, ‘m’, that is duplicated either in another merge module or in a File/@Id attribute. File identifiers must be unique. Please change one of the file identifiers to a different value.
Code in the merge module:
Basically i want to copy the file (file1.txt) in F1 and F2 using the mereg module.How can it be done?
InstallerGeek replied the topic: Re: Use of Merge Module
You can’t merge a Merge Module twice. You can connect the Merge Module to multiple Features but that won’t get what you want. I think in your case, you’ll have to use a CopyFile element to copy the decorated File/@Id from the Merge Module.
- Use of runtime variables to save into another variable using register in Ansible - September 6, 2018
- Ansible & Ansible Tower Variable Precedence Hierarchy - September 6, 2018
- How to use template in Ansible? - September 6, 2018