diff --git a/lib/ansible/modules/packaging/os/swupd.py b/lib/ansible/modules/packaging/os/swupd.py index e5fdafa6d9..b89354557b 100644 --- a/lib/ansible/modules/packaging/os/swupd.py +++ b/lib/ansible/modules/packaging/os/swupd.py @@ -197,10 +197,6 @@ class Swupd(object): self.msg = "Bundle %s installed" % bundle return - if self.rc == 18: - self.msg = "Bundle name %s is invalid" % bundle - return - self.failed = True self.msg = "Failed to install bundle %s" % bundle