awx icon indicating copy to clipboard operation
awx copied to clipboard

Allow empty values for ee in inventory_source

Open kk-at-redhat opened this issue 5 months ago • 0 comments

SUMMARY

Added an ability to specify empty value for execution_environment in ansible.controller.inventory_source module.

related #14920

ISSUE TYPE

Bug, Docs Fix or other nominal change

COMPONENT NAME

Collection

ADDITIONAL INFORMATION

Suggested testing:

    - ansible.controller.inventory_source:
        name: "A"
        inventory: "Dynamic A"
      ignore_errors: true

    - ansible.controller.inventory_source:
        name: "A"
        inventory: "Dynamic A"
        execution_environment: "Control Plane Execution Environment"
      ignore_errors: true

    - ansible.controller.inventory_source:
        name: "A"
        inventory: "Dynamic A"
        execution_environment: ""
      ignore_errors: true

    - ansible.controller.inventory_source:
        name: "A"
        inventory: "Dynamic A"
        execution_environment: {}
      ignore_errors: true

    - ansible.controller.inventory_source:
        name: "A"
        inventory: "Dynamic A"
        execution_environment: None
      ignore_errors: true

kk-at-redhat avatar Mar 10 '24 22:03 kk-at-redhat