yavdr-ansible/roles/collect-facts/tasks/main.yml
Alexander Grothe 052b46ee34 put custom fact collection in own role "collect-facts"
so it is not necessary to run yavdr-common every time we use an
autoinstall-* role
2017-11-20 09:23:50 +01:00

18 lines
318 B
YAML

- name: get information about usb and pci hardware and loaded kernel modules
hardware_facts:
usb: True
pci: True
modules: True
gpus: True
acpi_power_modes: True
- debug:
var: '{{ item }}'
verbosity: 1
with_items:
- usb
- pci
- gpus
- modules
- acpi_power_modes