Getting jsondiff is not installed error even though jsondiff is installed

Getting fatal: [192.168.0.51]: FAILED! => {“changed”: false, “msg”: “jsondiff is not installed, try ‘pip install jsondiff’”} error on fresh ansible install on ubuntu 20.04 via apt. Additionally I installed python3-jsondiff and community.docker from ansible-galaxy. All I’m trying to do is destroy a docker stack using ansible-playbook. My yml looks like this

Getting fatal: [192.168.0.51]: FAILED! => {"changed": false, "msg": "jsondiff is not installed, try 'pip install jsondiff'"} error on fresh ansible install on ubuntu 20.04 via apt. Additionally I installed python3-jsondiff and community.docker from ansible-galaxy. All I’m trying to do is destroy a docker stack using ansible-playbook. My yml looks like this

Did you install jsondiff on the target host?
Did you tell Ansible to use Python 3 on the target host (ansible_python_interpreter: /usr/bin/python3) ?

Regards
              Racke