3 ms·
You're supposed to encapsulate those in reusable roles, see an example methodology here: https://yourlabs.org/posts/2020-02-08-bigsudo-extreme-devops-hacking-op
by 1337shadow 6y ago
You're supposed to encapsulate those in reusable roles, see an example methodology here: https://yourlabs.org/posts/2020-02-08-bigsudo-extreme-devops-hacking-operations/ https://yourlabs.org/posts/2020-02-08-bigsudo-extreme-devops...
And since we have containers it's become really much easier actually ... Deploy a Traefik container which will watch dockerd socket and self-configure HTTPS and all when your other script starts container. Really, it's much easier than back in the days: https://github.com/jpic/bashworks/tree/master/vps https://github.com/jpic/bashworks/tree/master/vps
- nojvek 6y agoWasn’t the original post complaining about avoiding a gazillion lines of config in the first place ?
- 1337shadow 6y agoLines of config are like lines of code, refactoring them regularity is basic hygiene like brushing your teeth. You can "have no config lines" if you go ahead and click your config but then you don't have "infra as code" anymore so that's also "going back to the 70's" I guess.