From cb8a3a4c06cdddad4f77558a95d39d4800470934 Mon Sep 17 00:00:00 2001 From: zhangyan <1072973303@qq.com> Date: Wed, 28 Aug 2019 22:36:13 +0800 Subject: [PATCH] Update ce_mtu to fix bugs --- lib/ansible/modules/network/cloudengine/ce_mtu.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/network/cloudengine/ce_mtu.py b/lib/ansible/modules/network/cloudengine/ce_mtu.py index f4ccb96abd4..02263e7f2d1 100644 --- a/lib/ansible/modules/network/cloudengine/ce_mtu.py +++ b/lib/ansible/modules/network/cloudengine/ce_mtu.py @@ -534,6 +534,8 @@ class Mtu(object): else: self.end_state[ "jumboframe"] = "jumboframe enable %s %s" % (self.jbf_max, 1518) + if self.end_state == self.existing: + self.changed = False def work(self): """worker"""