become: true
- apt_repository:
- repo: ppa:jonathonf/python-3.6
+ repo: ppa:deadsnakes/ppa
state: present
become: true
when: ansible_distribution == 'Ubuntu'
become: true
when: ansible_distribution == 'Ubuntu'
+ - name: Install Python 3.7
+ apt:
+ name:
+ - python3.7
+ - python3.7-dev
+ - python3.7-tk
+ become: true
+ when: ansible_distribution == 'Ubuntu'
+
- name: Install base packages
apt:
name: