Add multiline config example in cli_config docs (#51413)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit f712e86728)
pull/54918/head
Trishna Guha 6 years ago committed by Toshio Kuratomi
parent 34cf510d77
commit cb5f043df2

@ -114,6 +114,12 @@ EXAMPLES = """
cli_config: cli_config:
config: "{{ lookup('template', 'basic/config.j2') }}" config: "{{ lookup('template', 'basic/config.j2') }}"
- name: multiline config
cli_config:
config: |
hostname foo
feature nxapi
- name: configure device with config with defaults enabled - name: configure device with config with defaults enabled
cli_config: cli_config:
config: "{{ lookup('template', 'basic/config.j2') }}" config: "{{ lookup('template', 'basic/config.j2') }}"

Loading…
Cancel
Save