From f48c8d9bac0144839411475da7ae3183d4a3899b Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 27 Aug 2018 15:21:00 -0700 Subject: [PATCH] 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 --- .../roles/base-server/vars/Ubuntu.xenial.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 playbooks/roles/base-server/vars/Ubuntu.xenial.yaml diff --git a/playbooks/roles/base-server/vars/Ubuntu.xenial.yaml b/playbooks/roles/base-server/vars/Ubuntu.xenial.yaml new file mode 100644 index 0000000000..93d87364d2 --- /dev/null +++ b/playbooks/roles/base-server/vars/Ubuntu.xenial.yaml @@ -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