# pre test file
---
- name: pre | install dependencies
  ansible.builtin.apt:
    name:
      - python
      - curl
    state: "{{ apt_install_state | default('latest') }}"
    update_cache: true
    cache_valid_time: "{{ apt_update_cache_valid_time | default(3600) }}"

- name: pre | install pip  # noqa command-instead-of-module
  ansible.builtin.shell: >
    curl -sL https://bootstrap.pypa.io/pip/2.7/get-pip.py | python -
  changed_when: false
