3 ms·
First encountered this concept while writing ansible scripts. Makes quick intuitive sense but actually doing this is a lot harder. e.g. Approx zero percent of
by Havoc 5y ago
First encountered this concept while writing ansible scripts. Makes quick intuitive sense but actually doing this is a lot harder.
e.g. Approx zero percent of the stackoverflow codesnippets you google are idempotent.
So as a new learner that's a show stopper right there. Barely hanging on to the stuff you're being taught let alone being able to see a big picture concept that is 20x miles above your current level.
Its just not happening
- gregmac 5y agoI'm helping introduce some DevOps concepts to an ops team that has been doing things in the "traditional" way for a very long time. They've been building scripts in the past couple years to replace what had always been manual work, but it's been interesting to see their perspective. Nothing is idempotent on purpose: they know whether a database exists, whether schema changes are pending, whether a hostname needs to be updated in DNS, so their mindset is simply to not run those scripts if not needed. I thought the big task would be introducing source control and CI/CD, but I quickly realized idempotentcy is actually the more fundamental and key concept that I need them to embrace.