Ansible Modules Data Type Update
  • 26 May 2023
  • Dark
    Light
  • PDF

Ansible Modules Data Type Update

  • Dark
    Light
  • PDF

Article summary

Ansible Modules Data Type Update in IAG (2020.2)

Beginning with Itential Automation Gateway (IAG) 2020.2, for Ansible modules with argument type integer, IAG outputs them as type number in their module schema. This update provides a consistent schema between IAG Ansible modules and Itential Automation Platform (IAP) workflow tasks.

Problem Explanation

Ansible modules are written in Python and the primary argument types are integer. The IAP workflow engine schema is based on JavaScript Object Notation (JSON). The schema validator used by Itential prefers number over int/float numeric types. Hence, workflow engine saved all data type integer as string in the database and issued a warning whenever the user saved a workflow task.

How to Run the Data Type Update

To run the update:

  1. Make sure both IAP and IAG are on 2020.2
  2. Users that have a pre-existent AG Manager pronghorn.json should invoke the undiscoverAll task to restore pronghorn.json to its original state.
  3. Make sure all IAG instances are also running 2020.2
  4. Connect IAG one-by-one (or restart the IAG adapter in IAP) to complete the update of pronghorn.json in AG Manager.

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.