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

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -