2012-08-28 19:56:16 +00:00
|
|
|
# Ansible OpenStack external inventory script
|
2015-02-13 15:39:10 +00:00
|
|
|
# DEPRECATED: please use openstack.py inventory which is configured for
|
|
|
|
# auth using the os-client-config library and either clouds.yaml or standard
|
|
|
|
# openstack environment variables
|
2012-08-28 19:56:16 +00:00
|
|
|
|
|
|
|
[openstack]
|
2014-07-01 19:47:25 +00:00
|
|
|
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
# Required settings
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
2012-08-28 19:56:16 +00:00
|
|
|
# API version
|
|
|
|
version = 2
|
|
|
|
|
|
|
|
# OpenStack nova username
|
|
|
|
username =
|
|
|
|
|
2014-07-01 19:47:25 +00:00
|
|
|
# OpenStack nova api_key or password
|
2012-08-28 19:56:16 +00:00
|
|
|
api_key =
|
|
|
|
|
|
|
|
# OpenStack nova auth_url
|
|
|
|
auth_url =
|
|
|
|
|
2014-07-01 19:47:25 +00:00
|
|
|
# OpenStack nova project_id or tenant name
|
|
|
|
project_id =
|
2012-10-09 19:43:58 +00:00
|
|
|
|
2014-07-01 19:47:25 +00:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
# Optional settings
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Authentication system
|
|
|
|
# auth_system = keystone
|
2012-10-09 19:43:58 +00:00
|
|
|
|
|
|
|
# Serverarm region name to use
|
2014-07-01 19:47:25 +00:00
|
|
|
# region_name =
|
2012-08-28 19:56:16 +00:00
|
|
|
|
2014-05-18 02:10:24 +00:00
|
|
|
# Specify a preference for public or private IPs (public is default)
|
2014-07-01 19:47:25 +00:00
|
|
|
# prefer_private = False
|
2014-05-18 02:10:24 +00:00
|
|
|
|
|
|
|
# What service type (required for newer nova client)
|
2014-07-01 19:47:25 +00:00
|
|
|
# service_type = compute
|
2014-05-18 02:10:24 +00:00
|
|
|
|
|
|
|
|
2012-08-28 19:56:16 +00:00
|
|
|
# TODO: Some other options
|
|
|
|
# insecure =
|
|
|
|
# endpoint_type =
|
2012-10-09 19:43:58 +00:00
|
|
|
# extensions =
|
2012-08-28 19:56:16 +00:00
|
|
|
# service_name =
|