Closed larsks closed 8 years ago
we could add a task to a relevant place that checks for this condition and (until we have a better answer) emits a scary message forewarning said sadness and doom.
I think we have a better solution in https://review.gerrithub.io/#/c/266269/
{nod} +1
There are some ansible bugs related to host delegation (e.g., tasks that have delegate_to:
or local_action:
) that we're working around in our current playbooks. There was just a change committed (https://github.com/ansible/ansible/pull/15024) that should resolve these problems, so we may want to watch for that to show up in a release. It was committed t the 2.0-stable branch so should show up in anything more recent than 2.0.1.0.
If someone tries running quickstart against an inventory file like this:
And they are not logged in as the
admin
user where they are running the quickstart, confusion will result: because the playbooks assume thatdelegate_to: localhost
will run as the current user, but in this situation that isn't true, and they will get permission errors when tasks try to write to/home/currentuser/.quickstart
.The solution right now is "don't target localhost as a different user".