Install python2.7 on xenial nodes
Ubuntu xenial does not come with python2 by default. In order to accomodate a transition from trusty nodes to xenial nodes that are managed by ansible we want to use python2 on trusty and xenial. Then when a group of nodes are fully xenialed we can force ansible to use python3 instead. Eventually we will have no trusty nodes and can default to using python3 instead and just have to have a small number of exceptions for centos. Change-Id: If1d97e25069d6ed5012c147024aad4d921febfc8
This commit is contained in:
parent
f430b70fd1
commit
f48c8d9bac
15
playbooks/roles/base-server/vars/Ubuntu.xenial.yaml
Normal file
15
playbooks/roles/base-server/vars/Ubuntu.xenial.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
distro_packages:
|
||||
- dnsutils
|
||||
- emacs-nox
|
||||
- iputils-ping
|
||||
- vim-nox
|
||||
- unattended-upgrades
|
||||
- mailutils
|
||||
# Install this to make transitioning ansible on python2 from
|
||||
# trusty to xenial easier then we can switch all xenial nodes
|
||||
# to python3
|
||||
- python2.7
|
||||
- python
|
||||
sftp_path: /usr/lib/openssh/sftp-server
|
||||
ssh_service_name: ssh
|
||||
ntp_service_name: ntp
|
Loading…
Reference in New Issue
Block a user