Task correct showing wrong for firewall

[sudo] password for thor: thor@jump_host /$
thor@jump_host /$
thor@jump_host /$ firewall-cmd --permanent --zone=public --add-port=64000/tcp
bash: firewall-cmd: command not found
thor@jump_host /$

Are you supposed to execute it on the jump server ?
It looks like the command not found was returned, could you explain how the task was correct ?