From 27132cd0b8a712c242b2985b142e765a64a12424 Mon Sep 17 00:00:00 2001 From: Sandra McCann Date: Mon, 8 Oct 2018 14:50:45 -0400 Subject: [PATCH] added jinja2 example (#46445) * added jinja2 example --- lib/ansible/modules/network/eos/eos_config.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ansible/modules/network/eos/eos_config.py b/lib/ansible/modules/network/eos/eos_config.py index 53d7ab10802..b84c749197c 100644 --- a/lib/ansible/modules/network/eos/eos_config.py +++ b/lib/ansible/modules/network/eos/eos_config.py @@ -228,6 +228,11 @@ EXAMPLES = """ eos_config: src: eos.cfg +- name: render a Jinja2 template onto an Arista switch + eos_config: + backup: yes + src: eos_template.j2 + - name: diff the running config against a master config eos_config: diff_against: intended