From 4618583f2fd861505b52df2d79655c5332aad639 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Wed, 8 Aug 2018 15:11:25 +0530 Subject: [PATCH] Update eos clcionf plugin (#43809) * If the remote host supports session capability set the `supports_generate_diff` flag to false which identifies if config diff should be generated within module or not --- lib/ansible/plugins/cliconf/eos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/cliconf/eos.py b/lib/ansible/plugins/cliconf/eos.py index c59f24069ae..af9fcf046ec 100644 --- a/lib/ansible/plugins/cliconf/eos.py +++ b/lib/ansible/plugins/cliconf/eos.py @@ -275,7 +275,7 @@ class Cliconf(CliconfBase): 'supports_multiline_delimiter': False, 'supports_diff_match': True, 'supports_diff_ignore_lines': True, - 'supports_generate_diff': True, + 'supports_generate_diff': False if self.supports_sessions else True, 'supports_replace': True if self.supports_sessions else False }