Install python3 instead of python2 during host bootstrapping.
Also use ansible interpreter discovery rather than hardcoding the path to the python executable which may vary depending on distro. Change-Id: Id6d1ec65106b5b8eabb152b0238a6f9c0a2d97da
This commit is contained in:
parent
5c6234dde1
commit
8e28b8e85e
@ -24,7 +24,6 @@
|
|||||||
- "{{ playbook_dir }}/../playbooks/defaults/repo_packages/openstack_services.yml"
|
- "{{ playbook_dir }}/../playbooks/defaults/repo_packages/openstack_services.yml"
|
||||||
environment: "{{ deployment_environment_variables | default({}) }}"
|
environment: "{{ deployment_environment_variables | default({}) }}"
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: "/usr/bin/python"
|
|
||||||
sftp_subsystem:
|
sftp_subsystem:
|
||||||
'apt': 'sftp /usr/lib/openssh/sftp-server'
|
'apt': 'sftp /usr/lib/openssh/sftp-server'
|
||||||
'yum': 'sftp /usr/libexec/openssh/sftp-server'
|
'yum': 'sftp /usr/libexec/openssh/sftp-server'
|
||||||
|
@ -25,11 +25,11 @@ packages_install:
|
|||||||
- git-core
|
- git-core
|
||||||
- iptables
|
- iptables
|
||||||
- iputils-tracepath
|
- iputils-tracepath
|
||||||
- ipython
|
- ipython3
|
||||||
- lvm2
|
- lvm2
|
||||||
- parted
|
- parted
|
||||||
- python2.7
|
- python3
|
||||||
- python-dev
|
- python3-dev
|
||||||
- sshpass
|
- sshpass
|
||||||
- vim
|
- vim
|
||||||
- vlan
|
- vlan
|
||||||
|
@ -22,8 +22,8 @@ packages_install:
|
|||||||
- git
|
- git
|
||||||
- iputils
|
- iputils
|
||||||
- lvm2
|
- lvm2
|
||||||
- python
|
- python3
|
||||||
- python-devel
|
- python3-devel
|
||||||
- sshpass
|
- sshpass
|
||||||
- systemd-networkd
|
- systemd-networkd
|
||||||
- vim
|
- vim
|
||||||
|
@ -23,8 +23,8 @@ packages_install:
|
|||||||
- git-core
|
- git-core
|
||||||
- iptables
|
- iptables
|
||||||
- lvm2
|
- lvm2
|
||||||
- python
|
- python3
|
||||||
- python-devel
|
- python3-devel
|
||||||
- vim
|
- vim
|
||||||
- vlan
|
- vlan
|
||||||
- xfsprogs
|
- xfsprogs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user