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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

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