This state uses a cmd.run which gets applied each time I do a state.apply. Is there a way to workaround this? This is a bit sad, because this will always result in a Changed=1
Summary for some host
-------------
Succeeded: 51 (changed=1)
Failed: 0
-------------
Total states run: 51
Total run time: 3.828 s
samba-formula/samba/users/init.sls
Line 14 in 3897734
This state uses a cmd.run which gets applied each time I do a state.apply. Is there a way to workaround this? This is a bit sad, because this will always result in a
Changed=1Could this be an alternative to
cmd.run?https://docs.saltstack.com/en/latest/ref/states/all/salt.states.pdbedit.html#salt.states.pdbedit.managed