I’ve setup my staging server with ansible, no problem – but when I go to deploy I get the following error:
TASK [deploy : Run npm install] ************************************************
System info:
Ansible 2.0.2.0; Darwin
Trellis at "WP 4.6 Compat: set WP_HOME/SITEURL directly"
---------------------------------------------------
MODULE FAILURE
sudo: a password is required
fatal: [agewellpgh.staging.firemancreative.com]: FAILED! => {"changed": false, "failed": true, "module_stdout": "", "parsed": false}
to retry, use: --limit @deploy.retry
Why would Trellis want/expect a sudo password from the web account during provisioning? (I think it’s trying to install npm globally) My other trellis sites have no issues provisioning, and I’m at a loss for an explanation, let alone a solution to this.
According to changelog, I’m here:
HEAD