Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Connect to Ansible

...

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.1Boolean): outputs true or false if operation succeeded.


Inventory Read

This activity reads an inventory of groups and hosts, if existent.

...

If you only wish to extract a specific element from the list, use Get KeyValuePair activity based on Index or Key value.



Inventory Update

This activity updates the specified groups and/or hosts from the inventory.

Activity Parameters

The Inventory Update activity parameters can be provided by manual inserted values or via IN arguments or variables:

Image Added


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.
  • Groups (collection editor type) (type: string): enter the old name and new name for the groups to be updated. E.g. when the collection editor opens, add a new member for each item to be updated, where Name = old value and Value = new value.
  • Hosts (collection editor type) (type: string): enter the old name and new name for the hosts to be updated. E.g. when the collection editor opens, add a new member for each item to be updated, where Name = old value and Value = new value.
  • IPs (collection editor type) (type: string): enter the old IP and new IP for all IPs to be updated. E.g. when the collection editor opens, add a new member for each item to be updated, where Name = old value and Value = new value.

The Read Only Output variable are the possible output values that the activity will provide:

  • Output (type: Boolean): outputs true or false if operation succeeded.

Script Execution

This activity executes ansible script on each host from inventory.

Activity Parameters

The Script Execution activity parameters can be provided by manual inserted values or via IN arguments or variables:

...