Rewrite the linode inventory stuff...this is a pain in the ass.
This commit is contained in:
@@ -1,26 +1,17 @@
|
||||
---
|
||||
# Default variables for linode_inventory role
|
||||
|
||||
# Linode API settings
|
||||
linode_api_url: "https://api.linode.com/v4"
|
||||
linode_inventory_output_dir: "/tmp"
|
||||
linode_inventory_output_file: "linode_inventory.json"
|
||||
|
||||
# Inventory grouping options
|
||||
create_region_groups: true
|
||||
create_type_groups: true
|
||||
create_status_groups: true
|
||||
create_tag_groups: true
|
||||
|
||||
# Default groups to create
|
||||
default_groups:
|
||||
- all
|
||||
- ungrouped
|
||||
|
||||
# Filter options
|
||||
include_only_running: false
|
||||
specific_regions: []
|
||||
specific_tags: []
|
||||
include_only_running: true
|
||||
specific_regions: [] # e.g., ['us-east', 'us-west']
|
||||
specific_tags: [] # e.g., ['production', 'web']
|
||||
|
||||
# Output format
|
||||
inventory_format: "json" # json or ini
|
||||
# Default SSH settings for discovered hosts
|
||||
default_ansible_user: "phlux"
|
||||
default_ssh_args: "-o StrictHostKeyChecking=no"
|
||||
|
||||
# Group naming options
|
||||
group_prefix_region: "region_"
|
||||
group_prefix_type: "type_"
|
||||
group_prefix_tag: "tag_"
|
||||
group_prefix_status: "status_"
|
||||
|
Reference in New Issue
Block a user