mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
nova.ini: Distinguish between required and optional settings
Put them in separate sections of config to make it more clear what is essential and what is not. Also comment out the optional settings. And remove duplicate mention of `service_type`.
This commit is contained in:
parent
1560b963aa
commit
7cc5ecae52
1 changed files with 17 additions and 9 deletions
|
@ -1,37 +1,45 @@
|
||||||
# Ansible OpenStack external inventory script
|
# Ansible OpenStack external inventory script
|
||||||
|
|
||||||
[openstack]
|
[openstack]
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------
|
||||||
|
# Required settings
|
||||||
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
# API version
|
# API version
|
||||||
version = 2
|
version = 2
|
||||||
|
|
||||||
# OpenStack nova username
|
# OpenStack nova username
|
||||||
username =
|
username =
|
||||||
|
|
||||||
# OpenStack nova api_key
|
# OpenStack nova api_key or password
|
||||||
api_key =
|
api_key =
|
||||||
|
|
||||||
# OpenStack nova auth_url
|
# OpenStack nova auth_url
|
||||||
auth_url =
|
auth_url =
|
||||||
|
|
||||||
# Authentication system
|
# OpenStack nova project_id or tenant name
|
||||||
auth_system = keystone
|
project_id =
|
||||||
|
|
||||||
# OpenStack nova project_id
|
#-------------------------------------------------------------------------
|
||||||
project_id =
|
# Optional settings
|
||||||
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Authentication system
|
||||||
|
# auth_system = keystone
|
||||||
|
|
||||||
# Serverarm region name to use
|
# Serverarm region name to use
|
||||||
region_name =
|
# region_name =
|
||||||
|
|
||||||
# Specify a preference for public or private IPs (public is default)
|
# Specify a preference for public or private IPs (public is default)
|
||||||
prefer_private = False
|
# prefer_private = False
|
||||||
|
|
||||||
# What service type (required for newer nova client)
|
# What service type (required for newer nova client)
|
||||||
service_type = compute
|
# service_type = compute
|
||||||
|
|
||||||
|
|
||||||
# TODO: Some other options
|
# TODO: Some other options
|
||||||
# insecure =
|
# insecure =
|
||||||
# endpoint_type =
|
# endpoint_type =
|
||||||
# extensions =
|
# extensions =
|
||||||
# service_type =
|
|
||||||
# service_name =
|
# service_name =
|
||||||
|
|
Loading…
Reference in a new issue