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
4 months agoAaron
5 months agoPortia
5 months agoVal
5 months agoRaymon
5 months agoJanine
5 months agoArlette
6 months agoHayley
6 months agoAshley
6 months agoVelda
6 months agoElinore
6 months agoJunita
6 months agoAnnmarie
6 months agoMadelyn
12 months agoSimona
10 months agoDesiree
10 months agoLashandra
11 months agoCharlene
11 months agoShenika
11 months agoGraciela
11 months agoMyra
11 months agoDoug
12 months agoEvan
11 months agoMelynda
11 months agoOliva
12 months agoQuentin
1 year agoOliva
1 year ago