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 37
37
files_matching : passwords.yml
38
38
name : kolla_passwords
39
39
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
-
49
40
- name : Run init-run-once
50
41
ansible.builtin.script :
51
42
cmd : scripts/aio-init.sh
52
43
creates : /tmp/.init-runonce
53
44
environment :
54
45
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]) }}"
55
49
OS_PROJECT_DOMAIN_NAME : Default
56
50
OS_USER_DOMAIN_NAME : Default
57
51
OS_PROJECT_NAME : admin
You can’t perform that action at this time.
0 commit comments