OS Upgrade » History » Revision 2
Revision 1 (Marc Dequènes, 2021-10-14 14:43) → Revision 2/28 (Marc Dequènes, 2021-10-14 15:11)
h1. OS Upgrade
This is a list of steps as guidelines for OS upgrades.
* create a temporary _group_vars/<new-suite>/system.yml_ in a git branch:
<pre>
---
system:
distribution:
debian:
codename: bullseye
dc:
codename: bullseye
</pre>
* (I often choose ELwing first) ansible-playbook --diff -l Elwing -t apt playbooks/common.yml | tee /tmp/dc.log
* apt upgrade
* apt dist-upgrade (check if removed packages are problematic)
** accept new version of /etc/services and copy-paste content of _local services_ from _/etc/services.dpkg-old_ to avoid having to redeploy all services
** do not accept new versions for:
*** /etc/smartd.conf
*** /etc/snmp/snmp.conf
*** /etc/oidentd.conf
*** /etc/sudoers
*** /etc/rsyslog.conf
*** /etc/apt-cacher-ng/acng.conf
*** /etc/zabbix/*
*** /etc/logrotate.d/*
** check the diff manually for other files