pulp_ansible
pulp_ansible copied to clipboard
Validate the requirements.yml file
Author: daviddavis (daviddavis)
Redmine Issue: 7734, https://pulp.plan.io/issues/7734
Validate the requirements.yml when a remote is saved.
Some examples:
- Validate the presence of required keys (name, source) if the entry is a hash
- Validate that
typematches up with whatever types we support (ie only galaxy at this point)
From: daviddavis (daviddavis) Date: 2020-10-22T16:31:15Z
Current validation:
https://github.com/pulp/pulp_ansible/blob/739a5551c87f4fffa9f46bee7fce9975e39020e8/pulp_ansible/app/serializers.py#L134-L148