Trellis good practice suggestions for ongoing maintenance

I don’t know of any resources that can be looked at but there are a fair amount of videos on YouTube around it.

As for point 2, you shouldn’t ever make changes manually over SSH. For adding Ubuntu packages, you can define them in your Trellis configurations like so:

## /path/to/trellis/group_vars/all/main.yml

apt_packages_custom:
  zip: "{{ apt_package_state }}"
  htop: "{{ apt_package_state }}"

The packages zip and htop will be installed to the server on the next provision using their latest stable versions.

2 Likes