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
|
||||
|
||||
[openstack]
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
# Required settings
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
# API version
|
||||
version = 2
|
||||
|
||||
# OpenStack nova username
|
||||
username =
|
||||
|
||||
# OpenStack nova api_key
|
||||
# OpenStack nova api_key or password
|
||||
api_key =
|
||||
|
||||
# OpenStack nova auth_url
|
||||
auth_url =
|
||||
|
||||
# Authentication system
|
||||
auth_system = keystone
|
||||
# OpenStack nova project_id or tenant name
|
||||
project_id =
|
||||
|
||||
# OpenStack nova project_id
|
||||
project_id =
|
||||
#-------------------------------------------------------------------------
|
||||
# Optional settings
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
# Authentication system
|
||||
# auth_system = keystone
|
||||
|
||||
# Serverarm region name to use
|
||||
region_name =
|
||||
# region_name =
|
||||
|
||||
# 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)
|
||||
service_type = compute
|
||||
# service_type = compute
|
||||
|
||||
|
||||
# TODO: Some other options
|
||||
# insecure =
|
||||
# endpoint_type =
|
||||
# extensions =
|
||||
# service_type =
|
||||
# service_name =
|
||||
|
|
Loading…
Reference in a new issue