summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible-galaxy-collection/tasks/pulp.yml
blob: 7b6c5f86869b936d35f0773b2242887202d03cce (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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 }}'
    repositories: '{{ pulp_repositories }}'
    namespaces: '{{ collection_list|map(attribute="namespace")|unique + publish_namespaces }}'