This repository has been archived on 2026-11-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openstack-deployment/ansible/playbooks/test_scr.yml
T
2020-08-12 00:02:27 +03:00

21 lines
393 B
YAML

---
- hosts: bonchvisor04
remote_user: cephadmin
become: true
become_user: root
become_method: sudo
tasks:
- name: detect dpdk interface name
shell: /usr/sbin/driverctl -v list-devices | grep -i net | grep 82576 | awk '{print $1}'
args:
executable: /bin/bash
register: dpdk_bus
- name: check dpdk_bus
debug:
msg: "{{ dpdk_bus.stdout_lines[1] }}"