On 31.01.2019 13:44, Dick Visser wrote:
BTW - Ideally I would like to be able to use the same inheritance
structure
that is already in place for variables, in particular these concepts:
- group_templates/all
- group_templates/mygroup
- host_templates/myhost
Instead of template module use the copy module with content instead of
src.
The template you have in a variable and use content like so.
- copy:
content: '{{ my_template }}'
dest: /tmp/test
--
Kai Stian Olstad
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/3ab5805196585a8cd597466885635d68%40olstad.com.
For more options, visit https://groups.google.com/d/optout.