An open API service indexing awesome lists of open source software.

https://github.com/stackhpc/ansible-role-sriov

Ansible role to configure SR-IOV
https://github.com/stackhpc/ansible-role-sriov

Last synced: 4 days ago
JSON representation

Ansible role to configure SR-IOV

Awesome Lists containing this project

README

          

stackhpc.sriov
==============

[![Build Status](https://travis-ci.com/stackhpc/ansible-role-sriov.svg?branch=master)](https://travis-ci.com/stackhpc/ansible-role-sriov)

Ansible role to enable SR-IOV on network devices.

Requirements
------------
None

Role Variables
--------------

See `defaults/main.yml`

Dependencies
------------

- `stackhpc.grubcmdline`

Example Playbook
----------------

```
- name: configure sr-iov
hosts: compute
vars:
sriov_devices:
- name: p4p1
numvfs: 63
- name: p3p1
numvfs: 8
# Don't add a udev rule to set numvfs. This can be useful if you use an alternative method
# to set the number of virtual functions e.g some custom scripts to enable VFLAG, but want
# to use the role to set firmware parameters.
on_boot_configuration_enabled: false
tasks:
- include_role:
name: sriov
handlers:
- name: reboot
include_tasks: tasks/reboot.yml
```

License
-------

Apache2

Author Information
------------------

Will Szumski