---
- name: Configure tuned profile
  hosts: seed:seed-hypervisor:overcloud:infra-vms
  max_fail_percentage: >-
    {{ tuned_max_fail_percentage |
       default(host_configure_max_fail_percentage) |
       default(kayobe_max_fail_percentage) |
       default(100) }}
  tags:
    - tuned
  roles:
    - name: giovtorres.tuned
      become: true
      when:
        - tuned_active_builtin_profile != ""
        - ansible_facts.os_family == 'RedHat'
