Hello,
I have provisioned server on my own, I am trying to use trellis only to deploy the code.
However it is failing on TASK [deploy : WordPress Installed?] step with error:
The conditional check 'wp_installed.stderr != ""' failed. The error was: error while evaluating conditional (wp_installed.stderr != ""): 'dict object' has no attribute 'stderr' fatal: [54.93.128.153]: FAILED! => {"failed": true}
[Errno 2] No such file or directory: âwpâ
The full traceback is:
File â/tmp/ansible_wh0va2nn/ansible_modlib.zip/ansible/module_utils/basic.pyâ, line 2736, in run_command
cmd = subprocess.Popen(args, **kwargs)
File â/usr/lib/python3.5/subprocess.pyâ, line 947, in init
restore_signals, start_new_session)
File â/usr/lib/python3.5/subprocess.pyâ, line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
The thing is, I havenât provisioned server using trellis, I prepared it on my own. I have also imported wordpress database (as project already exists, I am migrating it to trellis). Is there anything else I should do so trellis knows wordpress was already installed? As far as I can see in releases directories there are wp core files.