I am using csv python module for importing a csv file
The csv is importing but unable to fetch the values properly.
My main aim is the prompt that takes as server name needs to check from the csv list whether it exists or not…
I have to add ‘when’ condition also, but unable to separate HOST_NAME from actual hostname(s)…
I need help for ‘when’ condition and ‘looping’ of csv contents…
Please dont suggest ‘lookup’ and default ansible modules.
Hi Tanisha,
Check this one may helpful.
File: DBA_Total_server_list_modified.csv
HOST_NAME
zch89vsoedb106
TX11FPSDB01V
TX11FPSDB02V
tx11fpsdb99v