[Openstack] openstack-ansible variable overwrite question

Mohammed Naser mnaser at vexxhost.com
Sun Jul 1 23:09:48 UTC 2018


On Sun, Jul 1, 2018 at 6:14 PM, Satish Patel <satish.txt at gmail.com> wrote:
> I have deployed OSA and all good but having small issue in following file.
>
> # cat /etc/neutron/plugins/ml2/linuxbridge_agent.ini
>
> [linux_bridge]
> physical_interface_mappings = flat:eth12,vlan:br-vlan
>
> I WANT TO CHANGE IT TO FOLLWOING
>
> physical_interface_mappings = vlan:br-vlan
>
>
> I have overwrite variable in following file like this.
>
> # cat /etc/openstack_deploy/user_variables.yml
>
> neutron_linuxbridge_agent_ini_overrides:
>   linux_bridge:
>     physical_interface_mappings = vlan:br-vlan

It's a YAML structure, you want this:

neutron_linuxbridge_agent_ini_overrides:
  linux_bridge:
    physical_interface_mappings: vlan:br-vlan

>
> after re-run playbook it updated file with following format, am i
> missing something here?
>
> [DEFAULT]
> linux_bridge = physical_interface_mappings = vlan:br-vlan
>
> [linux_bridge]
> physical_interface_mappings = flat:eth12,vlan:br-vlan
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



-- 
Mohammed Naser — vexxhost
-----------------------------------------------------
D. 514-316-8872
D. 800-910-1726 ext. 200
E. mnaser at vexxhost.com
W. http://vexxhost.com



More information about the Openstack mailing list