For pip install I did: sudo pip install docker-compose==1.22.0 Playbook https://github.com/geerlingguy/ansible-role-awx
Please remember to reply to all if there are multiple recipients. Andrew Meyer [email protected] [email protected] 314-266-4837 On Tue, Apr 9, 2019 at 2:30 PM Jonathan Lozada De La Matta < [email protected]> wrote: > how did you pip install ? and can we see the playbook? > > On Tue, Apr 9, 2019 at 3:26 PM Andrew Meyer <[email protected]> wrote: > >> I seem to be having an issue when trying to run this playbook for >> building AWX. >> >> When I go to run the ansible playbook I get the following error: >> >> "ok: [localhost] => (item=environment.sh)", >> "ok: [localhost] => (item=credentials.py)", >> "ok: [localhost] => (item=docker-compose.yml)", >> "", >> "TASK [local_docker : Render SECRET_KEY file] >> ***********************************", >> "ok: [localhost]", >> "", >> "TASK [local_docker : Start the containers] >> *************************************", >> "fatal: [localhost]: FAILED! => {\"changed\": false, \"msg\": >> \"Unable to load docker-compose. Try `pip install docker-compose`. Error: >> cannot import name ImageNotFound\"}", >> "\tto retry, use: --limit @/root/awx/installer/install.retry", >> "", >> "PLAY RECAP >> *********************************************************************", >> "localhost : ok=8 changed=0 unreachable=0 >> failed=1 " >> ] >> } >> >> I was getting errors about docker-compose installation prior and tried >> installing the specific version the playbook calls for: >> pip freeze|grep -i docker >> DEPRECATION: Python 2.7 will reach the end of its life on January 1st, >> 2020. Please upgrade your Python as Python 2.7 won't be maintained after >> that date. A future version of pip will drop support for Python 2.7. >> docker-compose==1.22.0 >> docker-py==1.10.6 >> docker-pycreds==0.4.0 >> dockerpty==0.4.1 >> >> >> I'm not sure why this is not working. I am running this against the >> localhost. >> >> -- >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/6db44832-6056-4afe-b1f9-1332fd03e1dd%40googlegroups.com >> <https://groups.google.com/d/msgid/ansible-project/6db44832-6056-4afe-b1f9-1332fd03e1dd%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > > Jonathan lozada de la matta > > AUTOMATION PRACTICE > > > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Ansible Project" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ansible-project/5ypc54DVfMs/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BKtE5iRUUJhjH8OLH%3D0vdmY55XPzfkjPvw1QVbEy1V_tA%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BKtE5iRUUJhjH8OLH%3D0vdmY55XPzfkjPvw1QVbEy1V_tA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAEAR6cOb5iuw2Z89o2FLxgZVKKRAUdGKPRYP-dv4FiAeNRvrvA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
