Barry Kaplan
2015-06-07 04:09:32 UTC
I am using assemble like so:
- name: Assemble the final kibana.yml
assemble:
src: "{{kibana_confd_dir}}"
dest: "{{kibana_config_dir}}/kibana.yml"
delimiter: "# {{ansible_managed}}"
owner: "{{kibana_user}}"
group: "{{kibana_group}}"
mode: 0644
Which yields:
TASK: [kibana | Assemble the final kibana.yml]
********************************
fatal: [10.0.196.100] => One or more undefined variables: 'ansible_managed'
is undefined
It seems that the value in 'delimiter' does not get processed by jinja. Is
it the responsibility of each module to process each of its arguments, or
does the ansible framework handle that?
- name: Assemble the final kibana.yml
assemble:
src: "{{kibana_confd_dir}}"
dest: "{{kibana_config_dir}}/kibana.yml"
delimiter: "# {{ansible_managed}}"
owner: "{{kibana_user}}"
group: "{{kibana_group}}"
mode: 0644
Which yields:
TASK: [kibana | Assemble the final kibana.yml]
********************************
fatal: [10.0.196.100] => One or more undefined variables: 'ansible_managed'
is undefined
It seems that the value in 'delimiter' does not get processed by jinja. Is
it the responsibility of each module to process each of its arguments, or
does the ansible framework handle that?
--
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+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a59ca9fc-2262-47d4-b6f4-d78bc237dd0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a59ca9fc-2262-47d4-b6f4-d78bc237dd0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.