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

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

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

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -