1
この例では、Django-citiesは失敗します。特定のgitコミットのPipインストールが不能なプレーブで失敗する
- hosts: localhost
tasks:
- name: Install Django
pip: name=Django
- name: Install Userena
pip: name=django-userena
- name: Install Django Messages
pip: name=https://github.com/arneb/django-messages/archive/master.zip
- name: Install Django Cities
pip: name=git+https://github.com/coderholic/[email protected]
エラー:
TASK [Install Django Cities] ***************************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/pip2 install -e git+https://github.com/coderholic/[email protected]",
"failed": true, "msg": "\n:stderr: --editable=git+https://github.com/coderholic/[email protected] is not the right format; it must have #egg=Package\nYou are using pip version 8.1.2, however version 9.0.1 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n"}
to retry, use: --limit @/root/cannablr/ansible/playbooks/installdjango.retry
はAnsibleで許可されていないピップを経由してコミットgitのをインストールしますか?