This code seems to be old and should not be needed since
the python install role should be all that is needed.
Additional pip packages needed by the projects need to be
added to their requirements file.
Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: Ic0f298afbd52b5d8c8deb42861b25c37cebc417a
become: true
when: ansible_distribution == 'Ubuntu'
become: true
when: ansible_distribution == 'Ubuntu'
- - name: Install python-tox and deps
- pip:
- name:
- - tox
- - tox-pyenv
- state: present
- become: true
-
- name: Install Python 3.6 and packages
apt:
name:
- name: Install Python 3.6 and packages
apt:
name:
become: true
when: ansible_distribution == 'Ubuntu'
become: true
when: ansible_distribution == 'Ubuntu'
- - name: Install python-tox and deps
- pip:
- name:
- - tox
- - tox-pyenv
- state: present
- become: true
-
- apt_repository:
repo: ppa:deadsnakes/ppa
state: present
- apt_repository:
repo: ppa:deadsnakes/ppa
state: present