https://github.com/opiproject/ansible-opi-dpu
Ansible Modules for DPUs
https://github.com/opiproject/ansible-opi-dpu
Last synced: 10 months ago
JSON representation
Ansible Modules for DPUs
- Host: GitHub
- URL: https://github.com/opiproject/ansible-opi-dpu
- Owner: opiproject
- License: apache-2.0
- Created: 2024-01-30T13:06:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-17T18:04:12.000Z (about 2 years ago)
- Last Synced: 2025-04-14T08:58:05.547Z (over 1 year ago)
- Language: Dockerfile
- Size: 124 KB
- Stars: 6
- Watchers: 2
- Forks: 8
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Ansible Collection - opi.dpu
[](https://github.com/opiproject/ansible-opi-dpu/actions/workflows/linters.yml)
[](https://github.com/opiproject/ansible-opi-dpu/actions/workflows/codeql.yml)
[](https://securityscorecards.dev/viewer/?platform=github.com&org=opiproject&repo=ansible-opi-dpu)
[](https://github.com/opiproject/ansible-opi-dpu/actions/workflows/ansible.yml)
[](https://github.com/opiproject/ansible-opi-dpu/actions/workflows/docker-publish.yml)
[](https://github.com/opiproject/ansible-opi-dpu/blob/master/LICENSE)
[](https://codecov.io/gh/opiproject/ansible-opi-dpu)
[](https://hub.docker.com/r/opiproject/ansible-opi-dpu)
[](https://github.com/opiproject/ansible-opi-dpu/releases)
[](https://github.com/opiproject/ansible-opi-dpu)
[](https://github.com/opiproject/ansible-opi-dpu/graphs/contributors)
Ansible modules for DPUs. The proposed scope is (change this later):
- change bmc password on first use
- update bmc fw
- reset bmc
- factory reset bmc
- time sync bmc
- change cpu boot order
- time sync cpu
- OS boot
- change net speed on dpu ports
More examples on this page [LIFECYCLE](https://github.com/opiproject/opi-prov-life/blob/main/LIFECYCLE.md)
## I Want To Contribute
This project welcomes contributions and suggestions. We are happy to have the Community involved via submission of **Issues and Pull Requests** (with substantive content or even just fixes). We are hoping for the documents, test framework, etc. to become a community process with active engagement. PRs can be reviewed by by any number of people, and a maintainer may accept.
See [CONTRIBUTING](https://github.com/opiproject/opi/blob/main/CONTRIBUTING.md) and [GitHub Basic Process](https://github.com/opiproject/opi/blob/main/Policies/doc-github-rules.md) for more details.
## Getting started
using user/pass
```bash
docker run --rm -it ghcr.io/opiproject/ansible-opi-dpu:main all --module-name include_role --args name=bmc_fw_update -vvv -i "10.10.10.1," -e dpu_bmc_username='root' -e dpu_bmc_password='123456'
or
docker run --rm -it --entrypoint ansible-playbook ghcr.io/opiproject/ansible-opi-dpu:main ../playbooks/firmware.yml -vvv -i "10.10.10.1," -e dpu_bmc_username='root' -e dpu_bmc_password='123456'
or
docker run --rm -it --entrypoint ansible-playbook -v $(pwd):/opt -w /opt/roles ghcr.io/opiproject/ansible-opi-dpu:main ../playbooks/firmware.yml -vvv -i "10.10.10.1," -e dpu_bmc_username='root' -e dpu_bmc_password='123456'
```
using token
```bash
docker run --rm -it ghcr.io/opiproject/ansible-opi-dpu:main all --module-name include_role --args name=bmc_fw_update -vvv -i "10.10.10.1," -e dpu_bmc_token='QVEqXaooTXAiMNvjqSiI'
or
docker run --rm -it --entrypoint ansible-playbook ghcr.io/opiproject/ansible-opi-dpu:main ../playbooks/firmware.yml -vvv -i "10.10.10.1," -e dpu_bmc_token='QVEqXaooTXAiMNvjqSiI'
or
docker run --rm -it --entrypoint ansible-playbook -v $(pwd):/opt -w /opt/roles ghcr.io/opiproject/ansible-opi-dpu:main ../playbooks/firmware.yml -vvv -i "10.10.10.1," -e dpu_bmc_token='QVEqXaooTXAiMNvjqSiI'
```