I am unable to use the 1.8 omit default either
env={{item.container.env|default(omit)}}
One or more undefined variables: 'omit' is undefined
When using the dev version should ansible --version still say 1.7.2?
the 'which ansible' command is pointing to my checkout...
On Tuesday, 11 November 2014 19:16:30 UTC+9, Dane Lipscombe wrote:
>
> 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/81af7f00-e3ce-4a87-8f12-b42e5d352fd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.