Hi
I have a zabbix enviroment where i put servers in and out of maintenance using the api and ansible automation platform.
When we patch our servers, I create one maintenance period often containing ~300-600 servers pr. patch job.
Now I would like to remove the single host from the maintenance period as soon as its done.
My concern is when using maintenance.update and ansible running in strategy free mode.
maintenance.update needs a host array - that could change after extracting current hosts in the maintenance period and I risk re-adding host already removed by another thread in the playbook.
So my question - do any of you create maintenance periods consisting of a single host?
I would end up having ~300-600 maintenance periods pr patch run - but would that even be a problem?.
Regards Ivan
I have a zabbix enviroment where i put servers in and out of maintenance using the api and ansible automation platform.
When we patch our servers, I create one maintenance period often containing ~300-600 servers pr. patch job.
Now I would like to remove the single host from the maintenance period as soon as its done.
My concern is when using maintenance.update and ansible running in strategy free mode.
maintenance.update needs a host array - that could change after extracting current hosts in the maintenance period and I risk re-adding host already removed by another thread in the playbook.
So my question - do any of you create maintenance periods consisting of a single host?
I would end up having ~300-600 maintenance periods pr patch run - but would that even be a problem?.
Regards Ivan
Comment