FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation for Ansible-2.3 may contain hints for porting"}

0 votes

Hi Guys,

I am trying to launch a docker container using Ansible. But it is showing me the below error.

FAILED! => {"changed": false, "msg": "This module has been removed. The module documentation for Ansible-2.3 may contain hints for porting"}

I am using the below playbook.

- name: data container
  docker:
    name: mydata
    image: busybox
    state: present
    volumes:
    - /data
Sep 20 in Ansible by akhtar
• 28,660 points
47 views

1 answer to this question.

0 votes

Hi@akhtar,

You are using the docker module. This module is not available in the current version of ansible. You can use the docker_container module instead of the docker module.

answered Sep 20 by MD
• 66,380 points

Related Questions In Ansible

0 votes
1 answer
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 57,700 points
846 views
0 votes
1 answer