Last active
April 9, 2017 18:19
-
-
Save s3w47m88/0c342c9c44407327a33d96cbc10906d7 to your computer and use it in GitHub Desktop.
Fourth Error: permission denied to /srv/www/kangapestcontrol.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [deploy : Initialize] ***************************************************** | |
task path: /Users/s3w47m88/Sites/kangapestcontrol.com/trellis/roles/deploy/tasks/initialize.yml:8 | |
Using module file /Library/Python/2.7/site-packages/ansible/modules/extras/web_infrastructure/deploy_helper.py | |
<staging.kangapestcontrol.com> ESTABLISH SSH CONNECTION FOR USER: web | |
<staging.kangapestcontrol.com> SSH: EXEC ssh -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/Users/s3w47m88/.ansible/cp/ansible-ssh-%h-%p-%r staging.kangapestcontrol.com '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"'' | |
System info: | |
Ansible 2.2.2.0; Darwin | |
Trellis 1.0.0-rc.1: April 7th, 2017 | |
--------------------------------------------------- | |
MODULE FAILURE | |
Traceback (most recent call last): | |
File "/tmp/ansible_CswqNs/ansible_module_deploy_helper.py", line 478, in | |
<module> | |
main() | |
File "/tmp/ansible_CswqNs/ansible_module_deploy_helper.py", line 437, in | |
main | |
changes += deploy_helper.create_path(facts['project_path']) | |
File "/tmp/ansible_CswqNs/ansible_module_deploy_helper.py", line 300, in | |
create_path | |
os.makedirs(path) | |
File "/usr/lib/python2.7/os.py", line 157, in makedirs | |
mkdir(name, mode) | |
OSError: [Errno 13] Permission denied: '/srv/www/kangapestcontrol.com' | |
An exception occurred during task execution. The full traceback is: | |
Traceback (most recent call last): | |
File "/tmp/ansible_CswqNs/ansible_module_deploy_helper.py", line 478, in <module> | |
main() | |
File "/tmp/ansible_CswqNs/ansible_module_deploy_helper.py", line 437, in main | |
changes += deploy_helper.create_path(facts['project_path']) | |
File "/tmp/ansible_CswqNs/ansible_module_deploy_helper.py", line 300, in create_path | |
os.makedirs(path) | |
File "/usr/lib/python2.7/os.py", line 157, in makedirs | |
mkdir(name, mode) | |
OSError: [Errno 13] Permission denied: '/srv/www/kangapestcontrol.com' | |
fatal: [staging.kangapestcontrol.com]: FAILED! => { | |
"changed": false, | |
"failed": true, | |
"invocation": { | |
"module_name": "deploy_helper" | |
}, | |
"module_stdout": "" | |
} | |
to retry, use: --limit @/Users/s3w47m88/Sites/kangapestcontrol.com/trellis/deploy.retry | |
PLAY RECAP ********************************************************************* | |
localhost : ok=0 changed=0 unreachable=0 failed=0 | |
staging.kangapestcontrol.com : ok=2 changed=0 unreachable=0 failed=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment