Ansible/playbook/templateTest.yml
James Tombleson 3f49a5fe88 -sigh-
After trying to go down the path of editing the configs with inline I am going to change over to a template file and see if I can get that to work better for me.  At least Elastic will now let me hit the REST.
2019-04-23 12:21:00 -07:00

15 lines
284 B
YAML

- name: TemplateTest
hosts: elasticClients
vars:
var01: 'Hello world'
var02: "Why did I start at 1?"
tasks:
- name: ansible template
template:
src: templateTest.j2
dest: /tmp/templatetest.txt