ansible/test/integration/targets/ansible-galaxy-collection/tasks/pulp.yml
Jordan Borean 4856ab0e68
Galaxy server update (#72286)
* Update galaxy server image used in CI

* Fix port and migration issue

* Add delete step, still need to deal with pagination

* Make cleanup more efficient

* Remove testing code
2020-10-28 09:17:40 +10:00

11 lines
527 B
YAML

# These tasks configure pulp/pulp_ansible so that we can use the container
# This will also reset pulp between iterations
# A module is used to make the tests run quicker as this will send lots of API requests.
- name: reset pulp content
reset_pulp:
pulp_api: '{{ pulp_api }}'
galaxy_ng_server: '{{ galaxy_ng_server }}'
url_username: '{{ pulp_user }}'
url_password: '{{ pulp_password }}'
repository: published
namespaces: '{{ collection_list|map(attribute="namespace")|unique + publish_namespaces }}'