-
Notifications
You must be signed in to change notification settings - Fork 477
Open
Description
Cloned ch06 playbook and ran the playbook and keep getting this output for the manage.py tasks.
failed: [web] => (item=syncdb) => {"cmd": "./manage.py syncdb --noinput",
"failed": true, "item": "syncdb", "msg": "[Errno 13] Permission denied", "rc": 13}
failed: [web] => (item=migrate) => {"cmd": "./manage.py migrate --noinput",
"failed": true, "item": "migrate", "msg": "[Errno 13] Permission denied", "rc": 13}
failed: [web] => (item=collectstatic) => {"cmd": "./manage.py collectstatic --noinput",
"failed": true, "item": "collectstatic", "msg": "[Errno 13] Permission denied", "rc": 13}
I've gotten manage.py to run by vagrant ssh, making it executable with chmod +x manage.py and changing the #!/usr/bin/env on the top of the file to the virtual env. How to get around this with ansible?
Metadata
Metadata
Assignees
Labels
No labels