What I want to achieve here is check the log file: 12-2017PM-PATCH.log in /var/log
and find for the word COMPLETED in it and return to me the output for each hosts in Inventory .
What would be the syntax to put the search string in contains parameter and patterns parameter. Please please help me. I tried as below, need guidance
-sh-4.1$ cat ip360_mod_02042018.yml