20 lines
304 B
YAML
20 lines
304 B
YAML
|
---
|
||
|
- name: 'Install Python 3'
|
||
|
apt:
|
||
|
name:
|
||
|
- python3
|
||
|
- python3-pip
|
||
|
state: present
|
||
|
|
||
|
- name: 'Remove Python 2.'
|
||
|
apt:
|
||
|
name:
|
||
|
- python
|
||
|
- python2
|
||
|
- python2.7
|
||
|
- python-minimal
|
||
|
- python2-minimal
|
||
|
- python2.7-minimal
|
||
|
state: absent
|
||
|
purge: true
|