From 56f23594a5774d7890118825a7e5bdeb5c838e3b Mon Sep 17 00:00:00 2001 From: Sandra McCann Date: Wed, 3 Oct 2018 23:13:52 -0400 Subject: [PATCH] add simple j2 example to vyos_config (#46442) --- lib/ansible/modules/network/vyos/vyos_config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ansible/modules/network/vyos/vyos_config.py b/lib/ansible/modules/network/vyos/vyos_config.py index 4a097d6aafb..0a430fa85cb 100644 --- a/lib/ansible/modules/network/vyos/vyos_config.py +++ b/lib/ansible/modules/network/vyos/vyos_config.py @@ -105,6 +105,10 @@ EXAMPLES = """ src: vyos.cfg backup: yes +- name: render a Jinja2 template onto the VyOS router + vyos_config: + src: vyos_template.j2 + - name: for idempotency, use full-form commands vyos_config: lines: