Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • P poc-odyssey
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OnGres Inc.OnGres Inc.
  • labslabs
  • poc-odyssey
  • Merge requests
  • !10

WIP: Make it work a bit

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Ghost User requested to merge gcp_integration into master Dec 20, 2019
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 5

We are close to get Ansible to work with OS Login through integrated inventories.

This is based somehow on https://alex.dzyoba.com/blog/gcp-ansible-service-account/ Important read: https://docs.ansible.com/ansible/latest/scenario_guides/guide_gce.html#migration-guides

** Things to be done **

The ansible_user in the group_vars should be sa_ + the output of the make setup. The ssh key, can be added as dzyoba's blog, although we can use the default's PRIVKEY=${HOME}/.ssh/google_compute_engine. Use ssh-add ${HOME}/.ssh/google_compute_engine.

make ping fails. make odyssey-conf gather facts, but fails with error.

The idea is to find a way to automatically get the ansible_user and use the default credentials or enable the ssh keys.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gcp_integration