Use python3 for ansible
We get deprecation warnings from ansible about use of python2 on xenial hosts. Rather than setting ansible_python_interpreter to python3 on a host by host basis, set it globally to python3. Set it to python for the one host that's too old, refstack.openstack.org, which is running on trusty which only has python3.4. Change-Id: I4965d950c13efad80d72912911bc7099e9da1659
This commit is contained in:
parent
1febd9a0f2
commit
5e6aa5e70d
@ -1,3 +1,5 @@
|
||||
ansible_python_interpreter: python3
|
||||
|
||||
distro_lookup_path:
|
||||
- "{{ ansible_facts.distribution }}.{{ ansible_facts.lsb.codename }}.{{ ansible_facts.architecture }}.yaml"
|
||||
- "{{ ansible_facts.distribution }}.{{ ansible_facts.lsb.codename }}.yaml"
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
gitea_root_email: infra-root@openstack.org
|
||||
gitea_gerrit_public_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVuhTMAz1H2Jr9AC3py9A0vlNna6Sdt4yrvZOayxukPqQ7GPZd+Mo7MVyypxLD479N2mA09JAdsbq1eTiPP8ksEkB+dNxZzw8mY1653R/IXSW6J9xPcoDa88HF2s/xHN24IWzgiDjNNe79AQ+sKleByEQZ++xXny3MRpy258hKUvAtjjOLOnM1PBs8JNOzBL+UPgWRgSX6GG0qywJZqjD1Qx5kvH9RTRLi+tcMhEi4laN7BYvn4csY0sYzTzPG4ZTu3ootIJoRlQGtQ0LmoFO1vSwyEJUags6/ZZGjgy3jl3kwcU/b8ZnFlF4MDw1OB1QqMb4r6bMHbXNIupp4zJbz gerrit-replication-2014-04-25
|
||||
iptables_extra_public_tcp_ports:
|
||||
|
@ -1,3 +1,2 @@
|
||||
ansible_python_interpreter: python3
|
||||
iptables_extra_public_tcp_ports:
|
||||
- 80
|
||||
|
@ -1 +0,0 @@
|
||||
ansible_python_interpreter: python3
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
bastion_key_exclusive: false
|
||||
kube_config_template: clouds/bridge_kube_config.yaml.j2
|
||||
extra_users:
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
etherpad_vhost_name: etherpad.opendev.org
|
||||
letsencrypt_certs:
|
||||
etherpad01-opendev-org-main:
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
insecure-ci-registry01-main:
|
||||
- insecure-ci-registry01.opendev.org
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
mirror01-dfw-rax-main:
|
||||
- mirror01.dfw.rax.opendev.org
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
mirror01-gra1-ovh-main:
|
||||
- mirror01.gra1.ovh.opendev.org
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
mirror01-iad-rax-main:
|
||||
- mirror01.iad.rax.opendev.org
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
mirror01-kna1-airship-citycloud-main:
|
||||
- mirror01.kna1.airship-citycloud.opendev.org
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
mirror01-ord-rax-main:
|
||||
- mirror01.ord.rax.opendev.org
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
mirror01-regionone-linaro-us-main:
|
||||
- mirror01.regionone.linaro-us.opendev.org
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
mirror01-us-east-openedge-main:
|
||||
- mirror01.us-east.openedge.opendev.org
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
mirror02-mtl01-inap-main:
|
||||
- mirror02.mtl01.inap.opendev.org
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
nb04-opendev-org-main:
|
||||
- nb04.opendev.org
|
||||
|
@ -1 +0,0 @@
|
||||
ansible_python_interpreter: python3
|
@ -1 +0,0 @@
|
||||
ansible_python_interpreter: python3
|
1
playbooks/host_vars/refstack.openstack.org.yaml
Normal file
1
playbooks/host_vars/refstack.openstack.org.yaml
Normal file
@ -0,0 +1 @@
|
||||
ansible_python_interpreter: python
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
review-dev01-opendev-org-main:
|
||||
- review-dev.opendev.org
|
||||
|
@ -1,4 +1,3 @@
|
||||
ansible_python_interpreter: python3
|
||||
letsencrypt_certs:
|
||||
static01-opendev-org-main:
|
||||
- static.opendev.org
|
||||
|
Loading…
Reference in New Issue
Block a user