2012-08-28 21:56:16 +02:00
|
|
|
# Ansible OpenStack external inventory script
|
2015-02-13 16:39:10 +01: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 21:56:16 +02:00
|
|
|
|
|
|
|
[openstack]
|
2014-07-01 21:47:25 +02:00
|
|
|
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
# Required settings
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
2012-08-28 21:56:16 +02:00
|
|
|
# API version
|
|
|
|
version = 2
|
|
|
|
|
|
|
|
# OpenStack nova username
|
|
|
|
username =
|
|
|
|
|
2014-07-01 21:47:25 +02:00
|
|
|
# OpenStack nova api_key or password
|
2012-08-28 21:56:16 +02:00
|
|
|
api_key =
|
|
|
|
|
|
|
|
# OpenStack nova auth_url
|
|
|
|
auth_url =
|
|
|
|
|
2014-07-01 21:47:25 +02:00
|
|
|
# OpenStack nova project_id or tenant name
|
|
|
|
project_id =
|
2012-10-09 21:43:58 +02:00
|
|
|
|
2014-07-01 21:47:25 +02:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
# Optional settings
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
# Authentication system
|
|
|
|
# auth_system = keystone
|
2012-10-09 21:43:58 +02:00
|
|
|
|
|
|
|
# Serverarm region name to use
|
2014-07-01 21:47:25 +02:00
|
|
|
# region_name =
|
2012-08-28 21:56:16 +02:00
|
|
|
|
2014-05-18 04:10:24 +02:00
|
|
|
# Specify a preference for public or private IPs (public is default)
|
2014-07-01 21:47:25 +02:00
|
|
|
# prefer_private = False
|
2014-05-18 04:10:24 +02:00
|
|
|
|
|
|
|
# What service type (required for newer nova client)
|
2014-07-01 21:47:25 +02:00
|
|
|
# service_type = compute
|
2014-05-18 04:10:24 +02:00
|
|
|
|
|
|
|
|
2012-08-28 21:56:16 +02:00
|
|
|
# TODO: Some other options
|
|
|
|
# insecure =
|
|
|
|
# endpoint_type =
|
2012-10-09 21:43:58 +02:00
|
|
|
# extensions =
|
2012-08-28 21:56:16 +02:00
|
|
|
# service_name =
|