i cant able to build ansible-playbook

34 views
Skip to first unread message

Dark Night

unread,
Feb 16, 2018, 3:18:33 AM2/16/18
to Ansible Project
source yml file

---
- hosts: local
  tasks:
          - name: pull an image
            docker_image:
                    name: ubuntu:latest

now im getting this error  blow
 
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Failed to import docker-py - No module named chardet. Try `pip install docker-py`"}

can anyone let me out from this type of error 

Kai Stian Olstad

unread,
Feb 16, 2018, 8:49:21 AM2/16/18
to ansible...@googlegroups.com
Did you read the error message?
It clearly say what is wrong and even has a solution on how to fix it.

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages