James Tombleson
3f49a5fe88
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.
15 lines
284 B
YAML
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
|