ansible / galaxy_collection

Collection of modules and roles to configure Automation Hub
GNU General Public License v3.0
58 stars 54 forks source link

Fixes issue in collection_remotes module where the requirements could not be blanked out #420

Closed Tompage1994 closed 3 months ago

Tompage1994 commented 4 months ago

What does this PR do?

Fixes issue where the [] which might be set against the requiremnets option is ignored.

How should this be tested?

Attempt to remove requirements from a remote as follows:

- name: Delete requirements
      infra.ah_configuration.collection_remote:
        name: test
        url: https://galaxy.ansible.com
        requirements: []

Is there a relevant Issue open for this?

resolves #413

Other Relevant info, PRs, etc