# Zenoss playbook

**URL:** <https://forum.ansible.com/t/zenoss-playbook/27653>\
**Category:** Ansible Project\
**Created:** [May 28, 2018, 9:14pm UTC](https://forum.ansible.com/t/zenoss-playbook/27653 "2018-05-28T21:14:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Craig\_Massey](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@Craig\_Massey](https://forum.ansible.com/u/Craig_Massey)\
**Post date:** [May 28, 2018, 9:14pm UTC](https://forum.ansible.com/t/zenoss-playbook/27653/1 "2018-05-28T21:14:40Z")

</div>

A Zenoss user has posted a playbook to install it that I would like to use, but my experience with Ansible is limited and I can’t see how to drive it.  
Mainly, I’ve used Ansible from Vagrant and that handles the inventory and SSH keys for me, so I’ve been spoiled, I admit it.

The project is at:  
[https://github.com/sergevs/ansible-serviced-zenoss](https://github.com/sergevs/ansible-serviced-zenoss)

He has a terraform script to set up the servers on Google Cloud Engine and then uses Ansible to do the rest.  
Terraform works, but getting Ansible to connect has me stumped.

Do I add the public IP address, or the instance name, to the hosts file?

- If I add the public IP address SSH authentication fails.

- If I use the instance name, name resolution fails.

- Using gcloud compute ssh zenoss I can connect. But Ansible is apparently not using the gcloud SSH and I can’t figure out which SSH keys I need to be using and how to do that.

My apologies for asking for help with someone else’s work, I have asked the developer the same questions on the Zenoss forum where he posted this:  
[https://community.zenoss.com/forum/community-home/digestviewer/viewthread?MessageKey=5576acb1-e0f8-4216-86e4-ce39c205b24e](https://community.zenoss.com/forum/community-home/digestviewer/viewthread?MessageKey=5576acb1-e0f8-4216-86e4-ce39c205b24e)
