mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add multiline config example in cli_config docs (#51413)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
870525d762
commit
f712e86728
1 changed files with 6 additions and 0 deletions
|
@ -147,6 +147,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…
Reference in a new issue