Groups
Groups
Sign in
Groups
Groups
Ansible Development
Conversations
About
Send feedback
Help
windows host automation
23 views
Skip to first unread message
Sakshi Jain
unread,
Aug 19, 2021, 5:35:14 AM
8/19/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansibl...@googlegroups.com
For windows host
How to write tasks in ansible :
Login into RDP machine
Login into other machines from RDP machine
Read email before starting the patching in the scheduled time
Run any commands in rdp machine , like below :
To shutdown : shutdown /r /f /m \\<servername>
Reboot status : systeminfo /s <servername> | find “ System Boot Time “
Verify the timezone
Uptime of the server , store it in a file
Check ToNCR task from task scheduler , task is scheduled as cron job in every 5minutes
Send email to predefined recipients for task update
Read logs , scheduler logs , hmlogs , publish logs
rajtheco...@gmail.com
unread,
Sep 22, 2021, 6:36:13 AM
9/22/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Development
I am not sure Ansible can read mail, however you can use the win_updates module to patch your windows machine
Reply all
Reply to author
Forward
0 new messages