##### SUMMARY
Happened here: https://github.com/ansible-collections/community.general/pull/341

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
ansible-test

##### ANSIBLE VERSION
```paste below
devel
```

changed = True
        else:
            existing = prev[question]
            
            if vtype == 'boolean':
                value = to_text(value).lower()
                existing = to_text(prev[question]).lower()
            if value != existing:
                changed = True
    if changed:
        if not module.check_mode:
            rc, msg, e = set_selection(module, pkg, question, vtype, value, unseen)
            if rc:
                module.fail_json(msg=e)
        curr = {question: value}
        if question in prev:
            prev = {question: prev[question]}
        else:
            prev[question] = ''
        if module._diff:
            after = prev.copy()
            after.update(curr)
            diff_dict = {'before': prev, 'after': after}
        else:
            diff_dict = {}
        module.exit_json(changed=changed, msg=msg, current=curr, previous=prev, diff=diff_dict)
    module.exit_json(changed=changed, msg=msg, current=prev)
if __name__ == '__main__':
    main()