News for hackers. Stuff that matters.
Re:Replacing Ansible with salt-ssh by fanf2 on Thursday October 22, 2020 @02:11PM (#24861239)
The main reasons I started using Ansible in 2013 were its agentless setup (which this article covers nicely) and its --check --diff options (which this article leaves out). Does salt have a do-nothing sanity check mode?
Re:Replacing Ansible with salt-ssh by Shish2k on Thursday October 22, 2020 @02:32PM (#24861527)
It does, in my case my standard “check if everything is in order on a host” is:

salt-ssh $hostname state.highstate test=True

Re:Replacing Ansible with salt-ssh by fanf2 on Thursday October 22, 2020 @03:04PM (#24862003)
Neat :-) does that print diffs if there are discrepancies? Including diffs of templates config files?
Re:Replacing Ansible with salt-ssh by bproven on Thursday October 22, 2020 @03:34PM (#24862417)
--output-diff is what you are looking for
Re:Replacing Ansible with salt-ssh by dpedu on Thursday October 22, 2020 @02:38PM (#24861634)
It has test.ping