diff --git a/cluster.yml b/cluster.yml index 12c090169..6b9f4799b 100644 --- a/cluster.yml +++ b/cluster.yml @@ -5,7 +5,10 @@ - bootstrap-os tags: - bootstrap-os - + tasks: + - name: install python 2 + raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) + when: ansible_distribution == 'Ubuntu' and ansible_distribution_release == 'xenial' - hosts: all gather_facts: true