...
- Connect to Ansible
- Disconnect from Ansible
- Check Host
- Inventory Create
- Inventory Delete
- Inventory Create
- Inventory Update
- Script Execution
...
- Output (type: List <KeyValuePair <String,String>>): outputs a list of KeyValuePair of group→host for each host added to the inventory.
Inventory Delete
This activity deletes the specified groups and/or hosts from the inventory.
Activity Parameters
The Inventory Delete activity parameters can be provided by manual inserted values or via IN arguments or variables:
Parameters:
- Connection (text box editor type) (type: object): the Ansible Connection object. The output parameter from Connect To Ansible activity should be used as Input here.
- Group (text box editor type) (type: string): enter group name. E.g. Flowster.
- Hosts (text box editor type) (type: String[]): enter hosts array of strings to be deleted from the specified group .E.g. New String() {"hostname1", "hostname2"} . If left empty, the group will be deleted from inventory.
The Read Only Output variable are the possible output values that the activity will provide:
- Output (type: List <KeyValuePair <String,String>>): Outputs a list of KeyValuePairs with key : group name and value: host;info . E.g. value returned for host1 will be stored as host1;ansible_ssh_hostroot@10.10.10.1
Inventory Read
This activity reads an inventory of groups and hosts, if existent.
Activity Parameters
The Inventory Read activity parameters can be provided by manual inserted values or via IN arguments or variables:
...