Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-888

Default path in Inventory file for inventory_source objects is misleading

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      1. What is the nature and description of the request?

      The inventory_source objects in AAP2 controller do have an attribute source_path. The default for this attribute is "" but, the default displayed in the WebUI is "/ (project root)" which is misleading.

      2. Why does the customer need this? (List the business requirements here)

      1) "/" is normally considered the root directory, not the project root directory. Showing this as the default value in the WebUI is missleading and illogical. For example, if you really would set the value to "/" via the API, it would (correctly) use the root directory of the execution environment as the source_path.

      2) "/ (project root)" is not a real value. If you set the value to "/ (project root)" via API, it is not interpreted as "", but literally as "/ (project root)".

      3) If anything else than "", the WebUI should display the default value as ". (project root)", because "." is the value for the cwd.

      Maybe you could consider changing the displayed value of the default of source_path in inventory_sources.

            chadwickferman Chad Ferman
            rhn-support-alfferna Alfonso Fernandez
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: