Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow empty values for source_project in inventory_source #14973

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from

Conversation

kk-at-redhat
Copy link

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

@github-actions github-actions bot added component:awx_collection issues related to the collection for controlling AWX community labels Mar 10, 2024
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community component:awx_collection issues related to the collection for controlling AWX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant