ansible-console: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/ansible-console - from package: ansible

You may install the required package with command yum install {package}
Error in other languages:
ansible-console: bevel nie gevind nie
ansible-console: comandă negăsită
ansible-console: comando não encontrado
ansible-console: commande introuvable
ansible-console: command not found
ansible-console: käsku ei ole
ansible-console: không tìm thấy lệnh
ansible-console: komanda nerasta
ansible-console: Kommando nicht gefunden.
ansible-console: kommandot finns inte
ansible-console: komut yok
ansible-console: nie znaleziono polecenia
ansible-console: níor aimsíodh an t-ordú
ansible-console: no se encontró la orden
ansible-console: no s'ha trobat l'ordre
ansible-console: opdracht niet gevonden
ansible-console: parancs nem található
ansible-console: perintah tidak ditemukan
ansible-console: príkaz nenájdený
ansible-console: příkaz nenalezen
ansible-console: команда не найдена
ansible-console: командата не е открита
ansible-console: 命令找不到
ansible-console: コマンドが見つかりません