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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -