An open API service indexing awesome lists of open source software.

https://github.com/stackhpc/ansible-collection-pulp


https://github.com/stackhpc/ansible-collection-pulp

Last synced: 14 days ago
JSON representation

Awesome Lists containing this project

README

          

# StackHPC pulp collection

[![Tests](https://github.com/stackhpc/ansible-collection-pulp/actions/workflows/pull_request.yml/badge.svg)](https://github.com/stackhpc/ansible-collection-pulp/actions/workflows/pull_request.yml) [![Publish to Galaxy](https://github.com/stackhpc/ansible-collection-pulp/actions/workflows/publish.yml/badge.svg)](https://github.com/stackhpc/ansible-collection-pulp/actions/workflows/publish.yml)

This repo contains `stackhpc.pulp` Ansible Collection. The collection includes roles supported by StackHPC for Pulp repository server configuration.
Note: Pulp server installation is out of this collection's scope - for this purpose please see [an official collection](https://galaxy.ansible.com/pulp/pulp_installer).

## Tested with Ansible

Tested with the current Ansible 11 release.

## Included content

pulp_container_content role
pulp_content_guard role
pulp_distribution role
pulp_django_user role
pulp_group role
pulp_publication role
pulp_repository role
pulp_user role
container_repositories module
container_remotes module
container_syncs module
container_distributions module

## Using this collection

Before using the collection, you need to install the collection with the `ansible-galaxy` CLI:

ansible-galaxy collection install stackhpc.pulp

You can also include it in a `requirements.yml` file and install it via ansible-galaxy collection install -r requirements.yml` using format:

```yaml
collections:
- name: stackhpc.pulp
```

See [Ansible Using collections](https://docs.ansible.com/ansible/latest/user_guide/collections_using.html) for more details.

## Testing

The integration tests require a running Pulp server. To run a Pulp in one container for testing:

```
tests/pulp-in-one.sh
```

Then, to run all of the integration tests:

```
ansible-playbook -v tests/*.yml
```

## More information

- [Ansible Collection overview](https://github.com/ansible-collections/overview)
- [Ansible User guide](https://docs.ansible.com/ansible/latest/user_guide/index.html)
- [Ansible Developer guide](https://docs.ansible.com/ansible/latest/dev_guide/index.html)
- [Ansible Community code of conduct](https://docs.ansible.com/ansible/latest/community/code_of_conduct.html)

## Licensing

Apache License Version 2.0