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
    name: mydata
    image: busybox
    state: present
    - /data
Sep 20, 2020 in Ansible by akhtar
• 38,210 points

1 answer to this question.

0 votes


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, 2020 by MD
• 95,300 points

Related Questions In Ansible

0 votes
1 answer

FAILED! => {"changed": false, "msg": "state is mounted but all of the following are missing: fstype"}

Hi@akhtar, You need to pass some more arguments ...READ MORE

answered Sep 16, 2020 in Ansible by MD
• 95,300 points
+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
• 58,140 points
0 votes
1 answer

fatal: [localhost]: FAILED! => {"changed": false, "msg": "boto required for this module"}

Hi@akhtar, As ansible use the python library in ...READ MORE

answered Aug 12, 2020 in Ansible by MD
• 95,300 points