---
- name: Configure local PyPi mirror
  hosts: seed-hypervisor:seed:overcloud:infra-vms
  max_fail_percentage: >-
    {{ pip_max_fail_percentage |
       default(host_configure_max_fail_percentage) |
       default(kayobe_max_fail_percentage) |
       default(100) }}
  tags:
    - pip
  vars:
    ansible_python_interpreter: /usr/bin/python3
  roles:
    - role: pip
  gather_facts: false
