Skip to content

arcalot/arcaflow-plugin-metadata

Repository files navigation

Python Plugin Metadata

This is a simple plugin that collects all data from ansible-facts and outputs it.

Install via Poetry:

python3 -m poetry install --without dev

Run by executing the following command:

python3 metadata_plugin.py

Autogenerated Input/Output Documentation by Arcaflow-Docsgen Below

Collect Metadata (collect-metadata)

Collects ansible facts metadata

Input

Type:scope
Root object:InputParams
Properties
Objects
InputParams (object)
Type:object
Properties

Outputs

error

Type:scope
Root object:ErrorOutput
Properties
error (string)
Required:Yes
Type:string
Objects
ErrorOutput (object)
Type:object
Properties
error (string)
Required:Yes
Type:string

success

Type:scope
Root object:SelectedFacts
Properties
architecture (string)
Name:ansible architecture
Description:The system architecture
Required:Yes
Type:string
env (map[string,string])
Name:ansible env
Description:The system environment variables
Required:Yes
Type:map[string,string]
Key type
Type:string
Value type
Type:string
fqdn (string)
Name:ansible fqdn
Description:The system fully-qualified domain name
Required:Yes
Type:string
kernel (string)
Name:ansible kernel
Description:The system OS kernel
Required:Yes
Type:string
memtotal_mb (int)
Name:ansible memtotal MB
Description:The system total memory in MB
Required:Yes
Type:int
processor (list[string])
Name:ansible processor
Description:The system processor list
Required:Yes
Type:list[string]
List items
Type:string
processor_cores (int)
Name:ansible processor cores
Description:The system total processor cores
Required:Yes
Type:int
processor_count (int)
Name:ansible processor count
Description:The system total processor count
Required:Yes
Type:int
processor_threads_per_core (int)
Name:ansible processor threads per core
Description:The system threads per processor core
Required:Yes
Type:int
product_name (string)
Name:ansible product name
Description:The system product name
Required:Yes
Type:string
product_version (string)
Name:ansible product version
Description:The system product version
Required:Yes
Type:string
swaptotal_mb (int)
Name:ansible swaptotal mb
Description:The system swap size in MB
Required:Yes
Type:int
system_vendor (string)
Name:ansible system vendor
Description:The system vendor
Required:Yes
Type:string
uptime_seconds (int)
Name:ansible uptime seconds
Description:The system uptime in seconds
Required:Yes
Type:int
Objects
SelectedFacts (object)
Type:object
Properties
architecture (string)
Name:ansible architecture
Description:The system architecture
Required:Yes
Type:string
env (map[string,string])
Name:ansible env
Description:The system environment variables
Required:Yes
Type:map[string,string]
Key type
Type:string
Value type
Type:string
fqdn (string)
Name:ansible fqdn
Description:The system fully-qualified domain name
Required:Yes
Type:string
kernel (string)
Name:ansible kernel
Description:The system OS kernel
Required:Yes
Type:string
memtotal_mb (int)
Name:ansible memtotal MB
Description:The system total memory in MB
Required:Yes
Type:int
processor (list[string])
Name:ansible processor
Description:The system processor list
Required:Yes
Type:list[string]
List items
Type:string
processor_cores (int)
Name:ansible processor cores
Description:The system total processor cores
Required:Yes
Type:int
processor_count (int)
Name:ansible processor count
Description:The system total processor count
Required:Yes
Type:int
processor_threads_per_core (int)
Name:ansible processor threads per core
Description:The system threads per processor core
Required:Yes
Type:int
product_name (string)
Name:ansible product name
Description:The system product name
Required:Yes
Type:string
product_version (string)
Name:ansible product version
Description:The system product version
Required:Yes
Type:string
swaptotal_mb (int)
Name:ansible swaptotal mb
Description:The system swap size in MB
Required:Yes
Type:int
system_vendor (string)
Name:ansible system vendor
Description:The system vendor
Required:Yes
Type:string
uptime_seconds (int)
Name:ansible uptime seconds
Description:The system uptime in seconds
Required:Yes
Type:int