Playbook - sriov_derive_device_spec.ymlΒΆ

Derive the pci device_spec using edpm_derive_pci_device_spec role.

The user will specify the SR-IOV device_spec as a list, for this playbook execution. There will be a output conf file generated, which contains the allowed device_spec configmap

---

- name: Derive sriov device_spec
  hosts: "{{ edpm_override_hosts | default('all', true) }}"
  strategy: linear
  gather_facts: "{{ gather_facts | default(false) }}"
  any_errors_fatal: "{{ edpm_any_errors_fatal | default(true) }}"
  max_fail_percentage: "{{ edpm_max_fail_percentage | default(0) }}"
  tasks:
    - name: Run edpm_derive_pci_device_spec
      ansible.builtin.import_role:
        name: osp.edpm.edpm_derive_pci_device_spec
      tags:
        - edpm_derive_pci_device_spec