For windows host

How to write tasks in ansible :


   1. Login into RDP machine
   2. Login into other machines from RDP machine
   3. Read email before starting the patching in the scheduled time
   4. Run any commands in rdp machine , like below :
   5. To shutdown : shutdown /r /f /m \\<servername>
   6. Reboot status : systeminfo /s <servername> | find “ System Boot Time “
   7. Verify the timezone
   8. Uptime of the server , store it in a file
   9. Check ToNCR task from task scheduler , task is scheduled as cron job
   in every 5minutes
   10. Send email to predefined recipients for task update
   11. Read logs , scheduler logs , hmlogs , publish logs

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CANPH-qzpBUfoSFGAu_4WJ_fgMw4Z8-Jy%3DuTb4W%3DTNd_dkBg7Gw%40mail.gmail.com.

Reply via email to