File tree Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 196
196
# NOTE(mgoddard): We need a recent pip to install the latest cryptography
197
197
# library. See https://github.com/pyca/cryptography/issues/5753
198
198
- name : install pip 19.1.1+
199
- pip :
200
- name : " pip>=19.1.1"
201
- executable : " pip3"
202
- extra_args : " --user"
199
+ command : >-
200
+ python3 -m pip install --user
201
+ pip>=19.1.1
203
202
204
203
- name : install kolla-ansible and dependencies
205
204
vars :
206
205
# Test latest ansible version on Ubuntu, minimum supported on others.
207
206
ansible_version_constraint : " {{ '==2.9.*' if is_upgrade else '==2.10.*' }}"
208
- pip :
209
- name :
210
- - " {{ kolla_ansible_src_dir }}"
211
- - " ansible{{ ansible_version_constraint }}"
212
- - " ara<1.0.0"
213
- executable : " pip3"
214
- extra_args : " -c {{ upper_constraints_file }} --user"
207
+ command : >-
208
+ python3 -m pip install --user
209
+ -c {{ upper_constraints_file }}
210
+ {{ kolla_ansible_src_dir }}
211
+ ansible{{ ansible_version_constraint }}
212
+ ara<1.0.0
215
213
216
214
- name : get ARA callback plugin path
217
215
command : " python3 -m ara.setup.callback_plugins"
539
537
when : item.when | default(true)
540
538
541
539
- name : upgrade kolla-ansible
542
- pip :
543
- name : " {{ kolla_ansible_src_dir }} "
544
- executable : pip3
545
- extra_args : " -c {{ upper_constraints_file }} --user "
540
+ command : >-
541
+ python3 -m pip install --user
542
+ -c {{ upper_constraints_file }}
543
+ {{ kolla_ansible_src_dir }}
546
544
547
545
# Update passwords.yml to include any new passwords added in this
548
546
# release.
Original file line number Diff line number Diff line change 41
41
neutron_external_interface_name : " veth-{{ neutron_external_bridge_name }}-ext"
42
42
neutron_external_vxlan_interface_name : vxlan1
43
43
tls_enabled : false
44
- # NOTE(yoctozepto): Ansible on Debian defaults to /usr/bin/python which is
45
- # python2. Let's use python3 instead as expected in 2020 and beyond.
46
- ansible_python_interpreter : python3
47
44
configure_swap_size : 0
48
45
roles :
49
46
- zuul : zuul/zuul-jobs
You can’t perform that action at this time.
0 commit comments