become: true
- apt_repository:
- repo: ppa:jonathonf/python-3.6
+ repo: ppa:deadsnakes/ppa
state: present
become: true
when: ansible_distribution == 'Ubuntu'
name:
- python3.6
- python3.6-dev
+ - python3.6-tk
- libssl-dev
- libmysqlclient-dev
- gcc
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:
- name: Install Erlang
apt:
- deb: https://packages.erlang-solutions.com/erlang/esl-erlang/FLAVOUR_1_general/esl-erlang_19.3.6-1~ubuntu~trusty_amd64.deb
- install_recommends: yes
+ deb: https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_19.3.6-1~ubuntu~trusty_amd64.deb
become: true
when: ansible_architecture == 'x86_64' and ansible_distribution == 'Ubuntu'
state: link
become: true
when: ansible_architecture == 'x86_64' and ansible_distribution == 'Ubuntu'
+
+ - name: Install jinja2
+ pip:
+ name: jinja2
+ state: present
+ become: true
+ when: ansible_architecture == 'x86_64'