salt stack - unattended update without questions (saltstack) -


how correctly update hosts in saltstack?

cmd.run "apt update && apt upgrade -y"

sometimes asks confirmation overwrite config files new version, how automatically preserve current config file? "y/n"

or

there better way update entire system via salt-stack?

there pkg module. use that:

salt '*' pkg.upgrade --refresh=true 

Comments

Popular posts from this blog

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -