Create a playbook called hwreport.yml that produces an output file called /root/
hwreport.txt on all managed nodes with the following information:
------------------------------------------------------------------------------------------------------
--> Inventory host name
--> Total memory in MB
--> BIOS version
--> Size of disk device vda
--> Size of disk device vdb
Each line of the output file contains a single key-value pair.
* Your playbook should:
hwreport.empty and
save it as /root/hwreport.txt
--> Modify with the correct values.
note: If a hardware item does not exist, the associated value should be set to NONE
----------------------------------------------------------------------------------------------
while practising you to create these file hear. But in exam have to download as per
questation.
hwreport.txt file consists.
my_sys=hostname
my_BIOS=biosversion
my_MEMORY=memory
my_vda=vdasize
my_vdb=vdbsize
Rikki
5 months agoFlorinda
5 months agoLavonna
6 months agoTheron
6 months agoVanna
6 months agoPenney
6 months agoHaydee
6 months agoRosalia
6 months agoAbel
6 months agoBelen
6 months agoGail
6 months agoAlexis
6 months agoKirby
6 months agoStephaine
6 months agoPolly
6 months agoCherelle
6 months ago