Hi,
i have this problem with execute one playbook from mysql:
fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “msg”: “The MySQL-python module is required.”}
But, the MySQL-python is installed to the hosts.
Regards,
Hi,
i have this problem with execute one playbook from mysql:
fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “msg”: “The MySQL-python module is required.”}
But, the MySQL-python is installed to the hosts.
Regards,
The mysql module needs to be installed in the awx image also.
How can I do this action? Because I have it installed on the hosts where the container is
You’ll need to add it to the container image itself… either by connecting to awx_task and awx_web and installing it directly or adding it to our requirement file and rebuilding the images.
We’re working on a way to make this a little easier.
Thanks very much!
I ran into this today on 1.0.4.14. It’s a bit of a head scratcher that a standard module is not usable unless you do some custom modifications to the official AWX Docker images.
There are a lot of modules and we can’t ship the dependencies for all of them. Some modules even conflict with each other. We’re looking at ways to support loading dependencies without needing to pre-bake the container image.