diff options
author | 2020-11-19 18:12:18 +0000 | |
---|---|---|
committer | 2020-11-19 18:12:18 +0000 | |
commit | 0206e988b2c05df33e454f8ea3975152b6ecc338 (patch) | |
tree | 9b0699ce9d2f9cd101fc48759670dd931a4d1e03 /kud/deployment_infra/playbooks/preconfigure-kubespray.yml | |
parent | d2ca7962b498529868eb009352b05ba9932f8724 (diff) | |
parent | e3c7d3d4153d3a9383d4ebcaa004e54b1b0b64c2 (diff) |
Merge "Upgrade kubespray from 2.12.6 to 2.14.1"
Diffstat (limited to 'kud/deployment_infra/playbooks/preconfigure-kubespray.yml')
-rw-r--r-- | kud/deployment_infra/playbooks/preconfigure-kubespray.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kud/deployment_infra/playbooks/preconfigure-kubespray.yml b/kud/deployment_infra/playbooks/preconfigure-kubespray.yml new file mode 100644 index 00000000..78e7eda6 --- /dev/null +++ b/kud/deployment_infra/playbooks/preconfigure-kubespray.yml @@ -0,0 +1,19 @@ +--- +# The mitogen module used in kubespray requires python2 on the nodes. +# On some distributions (i.e. Ubuntu 18.04), the default version of +# python is python3. +# +# When python2 is not present a failure message similar to "bash: +# /usr/bin/python: No such file or directory" will be reported. +# +# Note the use of "strategy: linear" below to temporarily bypass +# mitogen. +# +- name: Install python2 + hosts: k8s-cluster + strategy: linear + tasks: + - name: Install python2 + package: + name: python + state: present |