I have created script with Ansible and also with Python to put servers down in my work environment but If I can create group of all servers and set their downtime at once.
Example: If I need to put 4 servers down on Monday and bring up next day. Another 5 servers down (or shutdown) no Wednesday and bring up on Thursday. If I can just do it on Monday for whole week, what is the approach you suggest to make such script?
ps. I am putting servers down here every time because there is network activity in the region and its high availability environment. Just putting servers down for the region and duration when network have activity.