ansible-lint: 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

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-lint - from package: ansible-lint

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