5 ms·
Worst scenario for me was trying to implement a quasi hierarchical set of roles for a little over 1000 machines. Meaning I had grouping by datacenters, packages
by trabant00 6y ago
Worst scenario for me was trying to implement a quasi hierarchical set of roles for a little over 1000 machines. Meaning I had grouping by datacenters, packages, configuration, domain, apps, etc, but also some differences. Inheritence sucks for both salt and ansible.
http://reclass.pantsfullofunix.net/index.html http://reclass.pantsfullofunix.net/index.html helped a lit but still not perfect
- aprdm 6y agoWas it over a single inventory file ? You can break it by app, like, having many git repos one per app and then use ansible galaxy to reuse code Or you can try having a dynamic inventory that pulls metadata from say consul. We’re in the ballpark of 2k machines and still happy !
- trabant00 6y agoI wanted a mono repo and I did manage to do it. But it was not elegant and I kind of pity whoever came after me and needed to maintain and extend that without me being there to explain the model.