File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 3737 files_matching : passwords.yml
3838 name : kolla_passwords
3939
40- - name : Add an IP to connect to the instances
41- # FIXME: host configure will have bounced the bridge
42- # and removed the IP
43- ansible.builtin.command : ip a add 10.0.2.1/24 dev breth1
44- register : result
45- failed_when : ' result.rc != 0 and "RTNETLINK answers: File exists" not in result.stderr'
46- changed_when : result.rc == 0
47- become : true
48-
4940 - name : Run init-run-once
5041 ansible.builtin.script :
5142 cmd : scripts/aio-init.sh
5243 creates : /tmp/.init-runonce
5344 environment :
5445 KOLLA_OPENSTACK_COMMAND : " {{ venv }}/bin/openstack"
46+ EXT_NET_CIDR : " {{ aio_cidr }}"
47+ EXT_NET_RANGE : " start={{ aio_neutron_allocation_pool_start }},end={{ aio_neutron_allocation_pool_end }}"
48+ EXT_NET_GATEWAY : " {{ external_net_names | first | net_ip(inventory_hostname=groups['controllers'][0]) }}"
5549 OS_PROJECT_DOMAIN_NAME : Default
5650 OS_USER_DOMAIN_NAME : Default
5751 OS_PROJECT_NAME : admin
You can’t perform that action at this time.
0 commit comments