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,260 points
1,756 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,460 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,460 points
2,685 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,020 points
2,738 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,460 points
4,248 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