I am running AWX in docker containers and have mounted the playbooks 
directory (I modified local_docker/tasks/main.yml:"Activate AWX Task 
Container" to include a volume argument).

I created a directory and a playbook and it shows up inside the container:

$ docker exec -it awx_task /bin/ls -hal /var/lib/awx/projects/helloworld/
total 4.0K
drwxr-xr-x 3 root root 102 Sep 19 18:49 .
drwxr-xr-x 3 root root 102 Sep 19 18:49 ..
-rw-r--r-- 1 root root 116 Sep 19 18:38 helloworld.yml


Yet, I still get the warning when I try to create a manual project:

WARNING: There are no available playbook directories in 
/var/lib/awx/projects. Either that directory is empty, or all of the 
contents are already assigned to other projects. Create a new directory 
there and make sure the playbook files can be read by the "awx" system 
user, or have AWX directly retrieve your playbooks from source control 
using the SCM Type option above.



The "helloworld" project/playbook also don't show up when creating a new 
Job Template.

Is there some special trick to getting AWX to recognize this directory?

thanks,

-MikeB

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c75b076e-762c-4e7c-be64-3a5e5cd055fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to