Removed docker-py from root
        "skipping: [localhost]", 
        "", 
        "TASK [local_docker : Set DockerHub Image Paths] 
********************************", 
        "ok: [localhost]", 
        "", 
        "TASK [local_docker : Create /tmp/awxcompose directory] 
*************************", 
        "ok: [localhost]", 
        "", 
        "TASK [local_docker : Create Docker Compose Configuration] 
**********************", 
        "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\": 
\"Failed to import docker or docker-py - cannot import name certs. Try `pip 
install docker` or `pip install docker-py` (Python 2.6)\"}", 
        "\tto retry, use: --limit @/root/awx/installer/install.retry", 
        "", 
        "PLAY RECAP 
*********************************************************************", 
        "localhost                  : ok=8    changed=0    unreachable=0    
failed=1   "
    ]
}
to retry, use: --limit @/home/ameyer/awx-role.retry

PLAY RECAP 
***********************************************************************************************************************************************************************************************************************************
localhost                  : ok=31   changed=1    unreachable=0    
failed=1   

[ameyer@awx01 ~]$ 




On Wednesday, April 10, 2019 at 3:13:25 PM UTC-5, Sebastian Meyer wrote:
>
> Ah I saw you have docker-py installed globally and installed docker for 
> your user with pip? 
>
> https://github.com/ansible/ansible/issues/37958#issuecomment-376320961 
>
> Seems like there's a problem with having both. 
>
> Sebastian 
>
>
>
>
> On 10.04.19 15:21, Andrew Meyer wrote: 
> > Any other thoughts? 
> > 
> > On Tuesday, April 9, 2019 at 4:15:09 PM UTC-5, Andrew Meyer wrote: 
> >> 
> >> Root is using the same version.  Also I stopped doing that as root. 
> >> 
> >> [ameyer@awx01 ~]$ python 
> >> Python 2.7.5 (default, Oct 30 2018, 23:45:53) 
> >> [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2 
> >> Type "help", "copyright", "credits" or "license" for more information. 
> >>>>> import compose 
> >>>>> exit() 
> >> [ameyer@awx01 ~]$ 
> >> 
> >> 
> >> 
> >> On Tuesday, April 9, 2019 at 4:09:16 PM UTC-5, Sebastian Meyer wrote: 
> >>> 
> >>> On 09.04.19 22:51, Andrew Meyer wrote: 
> >>>> [ameyer@awx01 ~]$ pip --version 
> >>>> pip 19.0.3 from /usr/lib/python2.7/site-packages/pip (python 2.7) 
> >>>> [ameyer@awx01 ~]$ ansible localhost -m setup|grep 
> >>> ansible_python_version 
> >>>>  [WARNING]: provided hosts list is empty, only localhost is 
> available. 
> >>> Note 
> >>>> that the implicit localhost does not match 'all' 
> >>>>         "ansible_python_version": "2.7.5", 
> >>>> [ameyer@awx01 ~]$ 
> >>> Okay so it seems they are using the same python version. Does 
> executing 
> >>> python and importing compose work? 
> >>> 
> >>> $ python 
> >>> Python 2.7.14 (default, Oct 12 2017, 15:50:02) [GCC] on linux2 
> >>> Type "help", "copyright", "credits" or "license" for more information. 
> >>>>>> import compose 
> >>>>>> 
> >>> 
> >>> I noticed you executed the installer playbook with root. Could you 
> check 
> >>> pip and ansible_python_version there too? Just to be sure there's no 
> >>> mixup there. 
> >>> 
> >>> Regards 
> >>> Sebastian 
> >>> 
> >>> -- 
> >>> Sebastian Meyer 
> >>> Linux Consultant & Trainer 
> >>> Mail: [email protected] 
> >>> 
> >>> B1 Systems GmbH 
> >>> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de 
> >>> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 
> >>> 
> >> 
> > 
>
> -- 
> Sebastian Meyer 
> Linux Consultant & Trainer 
> Mail: [email protected] <javascript:> 
>
> B1 Systems GmbH 
> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de 
> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 
>

-- 
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/0654ef93-0ee1-4df0-a67f-ea35f8d5a10b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to