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:
Clark Boylan 2018-08-27 15:21:00 -07:00
parent f430b70fd1
commit f48c8d9bac
1 changed files with 15 additions and 0 deletions

View 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