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
This commit is contained in:
Alexander Grothe
2017-11-20 09:21:22 +01:00
parent 3e8e077164
commit 052b46ee34
7 changed files with 743 additions and 640 deletions

View File

@@ -0,0 +1,17 @@
- 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