I want to write a playbook for following scenario:reads a text file which has linux commands written it,executes them one by one,aborts if any command fails to execute,andif I correct the command and run the playbook again it should execute from where it was aborted (instead of executing from beginning)sample file: sample.txt echo hello world  df -h  free -m  mkdir /tmp/`hostname`_bkp  touch /tmp/`hostname`_bkp/file{1..5}  mvn -version  echo directory and files created  echo Bye.!  So for example if mvn -version fails to execute then ansible should abort.How can achieve scenario through ansible?
read a file and execute each line as command using ansible
shell;ansible