Added mtu size variable
This commit is contained in:
parent
4e5c496862
commit
99112894be
@ -5,5 +5,7 @@
|
||||
|
||||
- hosts: neutron-controller
|
||||
become: True
|
||||
vars_files:
|
||||
- settings.yml
|
||||
roles:
|
||||
- neutron-controller
|
||||
- neutron-controller
|
||||
|
@ -5,5 +5,7 @@
|
||||
|
||||
- hosts: nova-compute
|
||||
become: True
|
||||
vars_files:
|
||||
- settings.yml
|
||||
roles:
|
||||
- nova-compute
|
||||
- nova-compute
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
- set_fact:
|
||||
env_vars: >
|
||||
-e "GLOBAL_PHYSNET_MTU={{ global_physnet_mtu }}"
|
||||
-e "KEYSTONE_HOST={{ listen_ip | default(hostvars[groups['keystone'][0]]['ansible_default_ipv4']['address']) }}"
|
||||
-e "MEMCACHED_HOST={{ listen_ip | default(hostvars[groups['memcached'][0]]['ansible_default_ipv4']['address']) }}"
|
||||
-e "METADATA_SECRET={{ secrets['METADATA_SECRET'] }}"
|
||||
|
@ -10,6 +10,8 @@ ExecStartPre=-/usr/bin/docker kill %n
|
||||
ExecStartPre=-/usr/bin/docker rm %n
|
||||
ExecStart=/usr/bin/docker run --name %n \
|
||||
-e "GLANCE_CONTROLLER_HOST={{ hostvars[groups['glance-controller'][0]]['listen_ip'] | default(hostvars[groups['glance-controller'][0]]['ansible_default_ipv4']['address']) }}" \
|
||||
-e "GLOBAL_PHYSNET_MTU={{ global_physnet_mtu }}" \
|
||||
-e "GLOBAL_PHYSNET_MTU={{ global_physnet_mtu }}" \
|
||||
-e "KEYSTONE_HOST={{ hostvars[groups['keystone'][0]]['listen_ip'] | default(hostvars[groups['keystone'][0]]['ansible_default_ipv4']['address']) }}" \
|
||||
-e "METADATA_SECRET={{ secrets['METADATA_SECRET'] }}" \
|
||||
-e "MEMCACHED_HOST={{ hostvars[groups['memcached'][0]]['listen_ip'] | default(hostvars[groups['memcached'][0]]['ansible_default_ipv4']['address']) }}" \
|
||||
|
Loading…
Reference in New Issue
Block a user