awx icon indicating copy to clipboard operation
awx copied to clipboard

Allow empty values for source_project in inventory_source

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

SUMMARY

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

related #14921

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"
        source: scm
        source_project: "Creds A"
      ignore_errors: true

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

    - ansible.controller.inventory_source:
        name: "A"
        inventory: "Dynamic A"
        source: ec2
        source_project: {}
      ignore_errors: true

    - ansible.controller.inventory_source:
        name: "A"
        inventory: "Dynamic A"
        source: ec2
        source_project: None
      ignore_errors: true

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