Upgrade Trellis server packages
Worried about outdated apt packages on your Trellis server?
Dec 15, 2015
Here’s a little trick to upgrade all outdated apt packages. Add this 5below “Update Apt” task in
- name: Upgrade Apt packages apt: upgrade=dist
When running the provision script every package that is not up to date will be upgraded. This is however somewhat risky so don’t forget to try it on your local and staging servers before doing it on production.
vagrant provision to provision your local Vagrant server and
ansible-playbook -i hosts/<host> server.yml to provision staging or production server.