From d5bfd93e2838251b061c16f2e8b1ed09479262f6 Mon Sep 17 00:00:00 2001 From: Trishna Guha Date: Fri, 7 Sep 2018 17:09:08 +0530 Subject: [PATCH] cli_config module doc update (#45345) Signed-off-by: Trishna Guha --- lib/ansible/modules/network/cli/cli_config.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/ansible/modules/network/cli/cli_config.py b/lib/ansible/modules/network/cli/cli_config.py index 6c5c0b5988..b6e7ef36a8 100644 --- a/lib/ansible/modules/network/cli/cli_config.py +++ b/lib/ansible/modules/network/cli/cli_config.py @@ -27,7 +27,8 @@ options: description: - The config to be pushed to the network device. This argument is mutually exclusive with C(rollback) and either one of the - option should be given as input. + option should be given as input. The config should have + indentation that the device uses. type: 'str' commit: description: @@ -120,10 +121,7 @@ EXAMPLES = """ - name: Use diff_match cli_config: - config: | - interface loopback999 - no description - shutdown + config: "{{ lookup('file', 'interface_config') }}" diff_match: none - name: nxos replace config