mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-20 15:51:05 +00:00
added jinja2 example (#49740)
This commit is contained in:
committed by
Alicia Cozine
parent
be21140384
commit
62af321909
@@ -282,6 +282,11 @@ EXAMPLES = """
|
||||
- boot system flash bootflash:{{new_image}}
|
||||
host: "{{ inventory_hostname }}"
|
||||
when: ansible_net_version != version
|
||||
|
||||
- name: render a Jinja2 template onto an IOS device
|
||||
ios_config:
|
||||
backup: yes
|
||||
src: ios_template.j2
|
||||
"""
|
||||
|
||||
RETURN = """
|
||||
|
||||
Reference in New Issue
Block a user