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, 2020 in Ansible by akhtar
• 38,230 points
1,418 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, 2020 by MD
• 95,440 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,440 points
2,061 views
+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,090 points
2,471 views
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,440 points
3,705 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP