pass --debug to ansible playbook code example

Example 1: ansible debug

- debug:
    msg: "SHINE UI URL = {{ shineui_url }}"

Example 2: ansible playbook post deployment

ps -aef|grep ClientProvision.exe
if it is running we can go & check in logs as well
cd /opt/Logs/dmApp
current hour application log we can grep & see printing in logs
date=date '+%d-%m-%y_%H_'
cat ClientProv_30xcf_$date *.log |grep "Loading InRoamer Details.."
if it is returing result as below we can ensure it is up & running fine
[InRoamer.cpp|00040|05:06:34:396|DG]Loading InRoamer Details
date=date '+%d_%m_%Y_05_'
#echo $date
cd /opt/Logs/dmApp
logfile=ClientProv_30xcf_$date*.log
#echo $logfile
cat $logfile |grep "Loading InRoamer Details.."

Tags:

Misc Example