Error - "No Package MySQL-python avaiable". How to fix this?

[root@localhost playbooks]# ansible-playbook starfish.yml
[DEPRECATION WARNING]: The firewalld module has been moved to the ansible.posix
collection. This feature will be removed from community.general in version
2.0.0. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.

PLAY [starfish] ****************************************************************

TASK [Gathering Facts] *********************************************************
ok: [localhost]

TASK [Install epel-release] ****************************************************
ok: [localhost]

TASK [Install dependencies] ****************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “failures”: [“No package MySQL-python available.”], “msg”: “Failed to install some of the specified packages”, “rc”: 1, “results”: }

PLAY RECAP *********************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

[root@localhost playbooks]#

I don’t see anything Asterisk related here, but…

Does 'yum list | grep --ignore-case mysql-python' yield any clues?

On my CentOS 7.8 host it shows:

-vtpv11::sedwards:~$ yum list | grep --ignore-case mysql-python
MySQL-python.x86_64                      1.2.5-1.el7              base          
MySQL-python-debuginfo.x86_64            1.2.5-1.el7              base-debuginfo

Indicating it is available and is in the base repo.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.