Ansible/playbook/templateTest.yml

15 lines
284 B
YAML
Raw Normal View History

- 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