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
- Host: GitHub
- URL: https://github.com/stackhpc/ansible-role-sriov
- Owner: stackhpc
- Created: 2020-01-30T11:21:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-19T08:34:14.000Z (over 2 years ago)
- Last Synced: 2024-04-14T22:50:17.707Z (about 2 years ago)
- Language: Jinja
- Homepage:
- Size: 27.3 KB
- Stars: 4
- Watchers: 8
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
stackhpc.sriov
==============
[](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