I am deploying to staging and all works well until…
TASK [deploy : Reload php-fpm] **********************************************************************************************************************
System info:
Ansible 2.6.1; Darwin
Trellis 1.0.0: December 27th, 2018
---------------------------------------------------
non-zero return code
sudo: no tty present and no askpass program specified
fatal: [staging.orefullmineraltextures.com]: FAILED! => {"changed": true, "cmd": "sudo service php7.3-fpm reload", "delta": "0:00:00.010496", "end":
"2019-01-08 02:38:59.682538", "rc": 1, "start": "2019-01-08 02:38:59.672042", "stderr_lines": ["sudo: no tty present and no askpass program specified
"], "stdout": "", "stdout_lines": []}
I can ssh to the server as either admin_user
(anita) or 'web_user` (web) without needing to use a password.
I’m not sure what to do next… I guess I should see if staging has uploaded the changes from the repo.