Provisionning hangs on `Add PHP PPA`

I found the solution but posting here in case someone else is running into the same issue (and myself, in the future.)

Running trellis vm start or trellis provision development hangs on the Add PHP PPA step and running --verbose does not provide any more information.

This is happening on a new install, on a M3 mac.

The solution

  • comment out the task in roles/php/tasks/main.yml
  • running trellis vm shell to access the vm
  • run sudo add-apt-repository ppa:ondrej/php to add manually
  • run the provision again
1 Like