online – Online inventory source¶
Synopsis¶
Get inventory hosts from Online
Parameters¶
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
groups
list
|
|
List of groups.
|
|
hostnames
list
|
["public_ipv4"]
|
List of preference about what to use as an hostname.
|
|
oauth_token
-
/ required
|
env:ONLINE_TOKEN
env:ONLINE_API_KEY
env:ONLINE_OAUTH_TOKEN
|
Online OAuth token.
|
|
plugin
-
/ required
|
|
token that ensures this is a source file for the 'online' plugin.
|
Examples¶
# online_inventory.yml file in YAML format
# Example command line: ansible-inventory --list -i online_inventory.yml
plugin: online
hostnames:
- public_ipv4
groups:
- location
- offer
- rpn
Status¶
This inventory is not guaranteed to have a backwards compatible interface. [preview]
This inventory is maintained by the Ansible Community. [community]