Working on daily basis with DevOps causes you to automate a lot of work. Now one of recent orchestration tools by me is Ansible. I’m not saying THIS IS THE TOOL to go but it for sure have a lot of potential.
So I decided to use it to deploy services also leveraging docker … but then I received error message :
NameError: global name ‘DEFAULT_DOCKER_API_VERSION’ is not defined
- name: install the required packages
apt: name=python-pip state=present update_cache=yes
- name: Install docker-py as a workaround for Ansible issue
pip: name=docker-py version=1.2.3