-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Deprecation Warning: Instead of sudo/sudo_user, use become/become_user #273
Comments
Hi @dianaarnos thanks a lot for the report, appreciated. |
I think we are overusing sudo too, so will be nice to check for that too. But maybe more in the future with more time and better CI. @dianaarnos the two issues you have opened should be pretty straightforward, so if you want to collaborate in the project both are a good start :) |
Indeed @dianaarnos, feel free to contribute, especially in the meanwhile I have no connectivity in my new place; I hope it gets sorted soon. |
Started working on this one today :) |
@dianaarnos that's great news and to add joy to the great news my internet connection is getting sorted so I will be back soon too and able to carry on the work I started. |
I'm facing a strange problem here...
But the only role generated is the |
Hi @dianaarnos what do you mean exactly? Are the other three roles empty? Production is likely running on the latest tag 0.7.2 |
Yeah, the roles are empty. Actually, the folders for the roles are not even created, only the |
Production works fine for sure, I'll check master in a moment. I'm in a cafe nearby home so I better get the most out of their internet connection :P |
@dianaarnos I found the root of your problem. Because of PR #254 all the roles have been now moved to their own repos. We would like people to contribute to the roles individually and we then take care of restoring the old behaviour cloning those roles in the right place during deployment of the website. (more reasoning in the PR comments) For the time being if you can't avoid to use the phansible repo use [this gist])https://gist.github.com/272693bc599b1a69d2c9) I quickly put together for you. Just run it from the project root with I hope it helps. |
Ah, that solves my problem, thanks! |
I'm curious and need to ask a question: why not use git submodules for that? |
Ups!! That was my fault :( I thought I've added https://github.com/phansible/phansible/blob/master/ansible/roles/app/tasks/main.yml to the Vagrant execution.. seems I forget. We tried git submodules in the past. They were a bit of a pain to configure and work with. We didn't like them at all see #41 We moved again to other repos because makes CI and sharing responsabilities much easier. We hope this approach is better than with submodules. But we will see. |
@dianaarnos I personally never used git submodules because I never had the need to but we could have a look at it, however if we put the app task in place as @naxhh mentioned that should do the trick without the need. I'm open to suggestion though. |
@naxhh it's not there, but I was running phansible localy, anyway. That local-deploy script worked just fine. |
I'll make a PR for each role linking to this issue and then I'll make a PR for this repo, linking all the other PRs on description. |
@dianaarnos one of the reason we also wanted to keep those roles separates it's also to give a curated, tested, and trusted set of resources that advanced phansible users (as in php ansible users) can rely on without the need to pass via the wensite frontend. I personally often struggled in finding the right role, when you on galaxy or other resources you always find 50 hits of the same role and you never know which one to pick, we would like to also solve that problem without losing the simplicity that phansible.com provides as bootstrap. By the way thanks a lot for your PRs and contribution |
I've merged everything with a green CI. I let the rest of the PR's to @debo's considerations. |
You're welcome :) |
Ups. closed by "Resolves" hook in github |
@dianaarnos are you happy for me to close this one? |
I know you guys will remove all warnings, but I guess it's a good idea to help you list some:
Ansible version: 2.0.1.0
The text was updated successfully, but these errors were encountered: