Re:Replacing Ansible with salt-ssh
by noinsight on Thursday October 22, 2020 @09:16PM
(#24865140)
There's nothing simple about shell scripts. Idempotency is the main thing - and a great thing.
[ Parent
| on HN ]
Re:Replacing Ansible with salt-ssh
by beefbroccoli on Sunday October 25, 2020 @11:32PM
(#24892600)
People talk about idempotency, as if it's complicated because it's a 5 syllable word.
if ! which sometool; then
install sometool
fi
That's an idempotent shell script, in all it's simple glory.