fititnt / ap-application-load-balancer

AP Application Load Balancer (AP-ALB). Sophisticated monolithic Ansible role to manage standalone and clusters of cross-platform and multicloud load balancers. Abstract HAProxy + OpenResty + On-the-fly auto HTTPS. Dedicated to Public Domain.
https://ap-application-load-balancer.etica.ai/
The Unlicense
1 stars 0 forks source link

Dedicated ALB component `SanityCheck` #15

Closed fititnt closed 4 years ago

fititnt commented 5 years ago

This issue is for create on the v0.7.x series a MVP of a component dedicated to do sanity checks. These checks should be

On some of my private tests with ALB v0.7.0-alpha (this time using several hosts at once) it is so impressive to be able to configure several machines using only some ansible inventories that I think this module could really be the place where I could put some extra checks, because is too easy to eventually put a full ALB (the HAProxy+OpenResty) on the wrong node.

Maybe in addition to these sanitychecks we even enable some sort of way to a person create a lock file on hosts that even if months or years later the same person or someone else try to run, will have to at least to manually go on that host and delete the lock file.

fititnt commented 4 years ago

Same reason as https://github.com/fititnt/ap-application-load-balancer/issues/38#issuecomment-570049134

This feature may be deprecated with more specific solutions.

One example is Implementation of Ansible Molecule on AP-ALB & travis-ci integration #2 and the other Convert AP-ALB tests to testinfra #44.

The code may take some time to be removed or rewritten (if already not was).