I’ve read and followed the instructions on every thread in discourse and github regarding the issues with earlier openssh version and HostKeyAlgorithms SSH options, mainly: Use dynamic HostKeyAlgorithms SSH option for unknown hosts and Failed to connect to the host via ssh: OpenSSH_6.2p2.
Now, I’m at the point where I get an error once executing the deploy script (i. e. ./bin/deploy.sh production example.com)
Here’s the related verbose error text:
System info:
Ansible 2.2.1.0; Darwin
Trellis at "Change `remote-user` role to `connection` role: tests host key, user"
---------------------------------------------------
MODULE FAILURE
Traceback (most recent call last):
File "/tmp/ansible_I1e6h0/ansible_module_deploy_helper.py", line 478, in
<module>
main()
File "/tmp/ansible_I1e6h0/ansible_module_deploy_helper.py", line 437, in
main
changes += deploy_helper.create_path(facts['project_path'])
File "/tmp/ansible_I1e6h0/ansible_module_deploy_helper.py", line 300, in
create_path
os.makedirs(path)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/srv/www'
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: OSError: [Errno 13] Permission denied: '/srv/www'
fatal: [188.226.142.194]: FAILED! => {"changed": false, "failed": true, "module_stdout": ""}
Ideas as to how to resolve this error and finalize the deployment process will be greatly appreciated.
Thank you much.