2 - import_playbook: ../common-packer/provision/baseline.yaml
10 repo: ppa:deadsnakes/ppa
13 when: ansible_distribution == 'Ubuntu'
15 - name: Update and upgrade apt packages
20 when: ansible_distribution == 'Ubuntu'
22 - name: Install Python 3.6 and packages
33 when: ansible_distribution == 'Ubuntu'
35 - name: Install Python 3.7
42 when: ansible_distribution == 'Ubuntu'
44 - name: Install Python 3.8
51 when: ansible_distribution == 'Ubuntu'
53 - name: Install Python 3.9
61 when: ansible_distribution == 'Ubuntu'
63 - name: Install libssl1.0-dev dep
69 when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04'
71 - name: Install nodejs-dev dep for npm
77 when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04'
79 - name: Install libnode-dev dep for npm
85 when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '20.04'
87 - name: Install supporting packages (Ubuntu 18.04)
107 when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04'
109 - name: Install supporting packages (Ubuntu 20.04)
129 when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '20.04'
131 - name: Install npm and addon packages
140 when: ansible_distribution == 'Ubuntu'