Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not change owner for the symfony2_root #1

Open
o10g opened this issue Apr 23, 2015 · 2 comments
Open

Can not change owner for the symfony2_root #1

o10g opened this issue Apr 23, 2015 · 2 comments

Comments

@o10g
Copy link

o10g commented Apr 23, 2015

Trying to use your role for deploying my symfony2 application, but getting the error:

failed: [host] => {"changed": true, "cmd": "chown -Rf www-data:www-data /home/o10g/www/project", "delta": "0:00:12.124561", "end": "2015-04-23 11:10:50.714929", "rc": 1, "start": "2015-04-23 11:10:38.590368", "warnings": ["Consider using file module with owner rather than running chown"]}

FATAL: all hosts have already failed -- aborting

So it can't be deployed. Do you have any solution about it?

I'm running the playbook by next command:

ansible-playbook -l prod -e "symfony2_release=date +%Y%m%d_%H%M%S" app/config/deploy.yml -vvv --ask-sudo-pass

Thank you in advance.

And by the way, thank you for the great work you did for symfony2 deployment.

@igormukhingmailcom
Copy link
Contributor

Based on your next issue, I guess you solved this problem. Can you tell more about reason and way to solve.

Thank you.

@o10g
Copy link
Author

o10g commented Apr 24, 2015

I'll create a pull request later today or tomorrow if don't mind. Fix is quite simple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants