pre-install python to work with ubuntu 16.04 or newer
- include: fedora-dnf.yml
when: os_version.stdout|int >= 22 and 'Fedora' in distro.stdout and is_atomic is not defined
+
+- name: install python 2 on Ubuntu
+ raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
+ when: "'Ubuntu' in distro.stdout"
