I need a optimized script which converts attached file commands to python 2.7 or (and) 3.6 using Ansible.
1.) After each command script should wait for command to finish before executing next command.
2.) should take csv file as input to iterate through different variables.
example: commands to Execute :
csv file contains variables DC1-RTR-INET-1,.... and so on.