**@**Matthew Jones, some feedback would be appreciated on this.
I think the virtual environments in 3.0.1 introduced some big bugs.
I need to run some tasks on the awx_celery container. I use host:127.0.0.1 and connection:local. This works for some other tasks I have.
Now, when using the shell module or script module and use any kind of path I get the error “No such file or directory”. The file is there and is accessible to the awx user.
If I run ansible-playbook my_play.yml inside the awx_celery container it works.
Also, for some reasons that will take to long to explain, I need to import my inventory in awx with awx_manage.
I wrote a play that also looks inside the awx_celery container filesystem for a hosts file. The file is there, accessible to the awx user.
I get this python error:
Traceback (most recent call last): File “/var/lib/awx/venv/awx/bin/awx-manage”, line 4, in import re File “/usr/lib64/python3.6/re.py”, line 142, in class RegexFlag(enum.IntFlag): AttributeError: module ‘enum’ has no attribute ‘IntFlag’
Again, if I run ansible_playbook in awx_celery it’s working great. Looks like some library version mix up. Ansible should use python 2.7 yet awx is using 3.6. Seems like somewhere the libs get confused or something.