I would like to pass arguments to the docker module like so:

- container:
        name: 'testa'
        image: 'testa'
- container:
        name: 'testb'
        image: 'testb'

- name: Start docker containers
  docker:
  args: "{{item.container}}"
  with_items: run_docker_containers

But i get the error:

ERROR: args must be a dictionary, received {{item.container}} (<type 'str'>)

I saw that there was a bug here and tried the latest dev version still 
without success
https://github.com/ansible/ansible/issues/8810

should the above issue have fixed the problem above?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5f854185-58d7-4ba8-a5f8-1aaa03f3cc37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to