mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
added jinja2 example (#49740)
This commit is contained in:
parent
be21140384
commit
62af321909
1 changed files with 5 additions and 0 deletions
|
@ -282,6 +282,11 @@ EXAMPLES = """
|
||||||
- boot system flash bootflash:{{new_image}}
|
- boot system flash bootflash:{{new_image}}
|
||||||
host: "{{ inventory_hostname }}"
|
host: "{{ inventory_hostname }}"
|
||||||
when: ansible_net_version != version
|
when: ansible_net_version != version
|
||||||
|
|
||||||
|
- name: render a Jinja2 template onto an IOS device
|
||||||
|
ios_config:
|
||||||
|
backup: yes
|
||||||
|
src: ios_template.j2
|
||||||
"""
|
"""
|
||||||
|
|
||||||
RETURN = """
|
RETURN = """
|
||||||
|
|
Loading…
Add table
Reference in a new issue