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:
--> Download the file hwreport.empty from the URL http://classroom.example.com/
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
Royal
3 months agoAaron
3 months agoPortia
3 months agoVal
4 months agoRaymon
4 months agoJanine
4 months agoArlette
4 months agoHayley
4 months agoAshley
5 months agoVelda
5 months agoElinore
5 months agoJunita
5 months agoAnnmarie
5 months agoMadelyn
10 months agoSimona
9 months agoDesiree
9 months agoLashandra
9 months agoCharlene
9 months agoShenika
9 months agoGraciela
9 months agoMyra
10 months agoDoug
10 months agoEvan
9 months agoMelynda
9 months agoOliva
10 months agoQuentin
11 months agoOliva
11 months ago