2012-08-28 21:56:16 +02:00
|
|
|
# Ansible OpenStack external inventory script
|
|
|
|
|
|
|
|
[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 =
|