[openstack-dev] [kolla] why common_options type is dictionary ?

Paul Bourke paul.bourke at oracle.com
Tue Jul 11 08:55:26 UTC 2017


Because its a series of key value pairs: 
https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L96-L105

Is there another type you feel would fit better?

On 11/07/17 05:22, Margin Hu wrote:
> Hi Guys:
> 
> I want to set docker_common_options parameter but find its type is 
> dictionary.  why?
> 
> ansible/roles/zun/tasks/pull.yml:5:    common_options: "{{ 
> docker_common_options }}"
> tests/test_kolla_docker.py:44: common_options=dict(required=False, 
> type='dict', default=dict()),
> 
> 
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list