http://docs.ansible.com/ansible/mysql_user_module.html MySQLdbライブラリのインストール mysel_userモジュールを使用するためには下記記載のようにPythonのMySQLdbライブラリが必要。 Requirements (on host that executes module) MySQLdb http://docs.ansible.com/ansible/mysql_user_module.html#requirements-on-host-that-executes-module Amazon Linux環境だったのでYumリポジトリからインストールすることができた。 ただ、バージョンを指定する必要があった。指定がない状態だと2.6用のがインストールされる。 # yum install -y MySQL-python