I’m experimenting with the EWWW Image Optimize plugin on a Trellis site. With a freshly provisioned Vagrant machine, I get warnings that optipng, gifsicle and jpegtran are not found when running a WordPress XML import.
The warnings go away after installing the respective Apt packages:
I’m new to Ansible and want to install the Apt packages automatically. I haven’t been able to find any Ansible packages to install any of these tools (like bedrock-site-protect). Is there a recommended way to install Apt packages? Would I need to create my own Ansible playbook?
I’d like to add custom APT packages on the current (December 2018) version of Trellis. I am getting an error that these need to be specified in “dict” format and a reference to:
I am getting confused about how to format the dependency. The apt package I would like to add is python-passlib. Is there more documentation for this available somewhere?