cros-bisector: ansible: use service account for git auth

Changes in this CL:
- use credential provided in gcloud instead for git auth
- cipd auth issue
- minor fixes

The current git auth flow is provided by git-cookie-authdaemon, this
daemon will initialize auth by gce IAM and update token every 10 mins.

The cipd auth issue is mentioned in b:149077936, a fesible solution now
is run gclient through luci context, may need to discover more graceful
solution in the future.

BUG=b:165128081
TEST=ansible-playbook main.yml --check
TEST=ansible-playbook main.yml

Change-Id: Ib4f52325edb8daeda44487d2a450ddca008eb573
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/cros-bisector/+/2366956
Commit-Queue: Zheng-Jie Chang <zjchang@chromium.org>
Tested-by: Zheng-Jie Chang <zjchang@chromium.org>
Reviewed-by: Kuang-che Wu <kcwu@chromium.org>
3 files changed
tree: de6df2bf43476ad30facedd4460842cba66c28dd
  1. ansible/
  2. .gitignore
  3. LICENSE
  4. OWNERS