I am writing a script for IOS upgrade in switches and script involves multiple TASKS like checking copying image, settings boot statement, etc. The final task would be to check if IOS upgrade was successful or not and display it on screen.
Mgmt wants only the output message for the final TASK (whether IOS upgrade was succesful or not) to be saved in excel sheet or table. They don't have the patience to go through the entire output shown by ansible for the playbook.
How do i automatically save the output shown by ansible for only the above mentioned final TASK to a excel sheet/table?
Thanks,
Vikram
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/cc7108fc-9342-4ffc-87a5-04cc01e2c15cn%40googlegroups.com.
Thanks,
Pushparaj G
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAE5Yv1Q5hs__FqFA_Vu1ZGeqQSKPqrusFLzCX2po7HwRYGC98g%40mail.gmail.com.