ansible --version should not say 1.7.2 if you are using devel. Make you sure you did: 1. source /path/to/repo/hacking/env-setup 2. Clean your shell's binaries location cache (IIRC hash --help should tell you how in bash/zsh)
Or just use $(which ansible-playbook) to run your plays :-) Dane Lipscombe <[email protected]> napisał: >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. -- Wysłane za pomocą K-9 Mail. -- 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/4f1455f0-9595-40a6-940b-2e038d237aa2%40email.android.com. For more options, visit https://groups.google.com/d/optout.
