---
- name: Ensure APT is configured
  hosts: seed-hypervisor:seed:overcloud:infra-vms
  max_fail_percentage: >-
    {{ apt_max_fail_percentage |
       default(host_configure_max_fail_percentage) |
       default(kayobe_max_fail_percentage) |
       default(100) }}
  vars:
    ansible_python_interpreter: /usr/bin/python3
  tags:
    - apt
  tasks:
    - name: Include apt role
      include_role:
        name: apt
      when: ansible_facts.os_family == 'Debian'
