- name: Install Python
  apt: name={{ item }} state=present
  with_items:
    - python
    - python-pip
    - python3
    - python3-pip

- name: Install virtualenv
  pip: name={{ item }} state=present
  with_items:
    - virtualenv
    - virtualenvwrapper
  environment:
    PIP_REQUIRE_VIRTUALENV: false

- name: Install Python
  apt: name={{ item }} state=present
  with_items:
    - python
    - python-pip
    - python3
    - python3-pip
  become: yes

- name: Install virtualenv
  pip: name={{ item }} state=present
  with_items:
    - virtualenv
    - virtualenvwrapper
  environment:
    PIP_REQUIRE_VIRTUALENV: false
  become: yes

Add become to python role
Add become to python role
