I have
`
tasks:
-
name: Install the Python MySQLB module
pip: name=mysql-python -
name: Create grafana database
tags: [mysql]
mysql_db:
state: present
name: “{{ vault_grafana_db_name }}”
login_host: “{{ data_rds_mysql_host }}”
login_user: “{{ data_rds_username }}”
login_password: “{{ data_rds_password }}”
`
But when running
`
TASK [Install the Python MySQLB module] **********************************************************************************************************************************************
ok: [localhost]
TASK [Create grafana database] *******************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “The MySQL-python module is required.”}
to retry, use: --limit @/Users/bkaplan/.ansible/retry-files/deploy-grafana.retry
`
What can cause this?