'Removes a bundle with `swupd bundle-remove bundle`'

def remove_bundle(self, bundle):

    if self.module.check_mode:
        self.module.exit_json(changed=self._is_bundle_installed(bundle))
    if (not self._is_bundle_installed(bundle)):
        self.msg = 'Bundle    %s    not    installed'
        return
    cmd = self._get_cmd(('bundle-remove    %s' % bundle))
    self._run_cmd(cmd)
    if (self.rc == 0):
        self.changed = True
        self.msg = ('Bundle    %s    removed' % bundle)
        return
    self.failed = True
    self.msg = ('Failed    to    remove    bundle    %s' % bundle)
