I have working playbooks for provisioning Copr pulp instance in my personal repository. I want to migrate them to the Fedora infra ansible repository but there are two dependencies that need to be satisfied. Basically, I need this on Batcave:
ansible-galaxy collection install pulp.pulp_installer ansible-galaxy install geerlingguy.postgresql
Is this something that can be done?
You can find the dependencies mentioned here https://docs.pulpproject.org/pulp_installer/quickstart/#example-playbook-for-orchestration
At your convenience
ansible-galaxy collection install pulp.pulp_installer
It would be nice to have this packaged in the Fedora and EPEL 9 repositories. See https://docs.fedoraproject.org/en-US/packaging-guidelines/Ansible_collections/.
ansible-galaxy install geerlingguy.postgresql
This is a role for which we don't have facilities to package in Fedora. You can add extra role requirements to https://pagure.io/fedora-infra/ansible/blob/main/f/roles/ansible-server/files/requirements.yml.
Metadata Update from @phsmoura: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: low-gain, low-trouble, ops
Thank you for the reply @gotmax23,
You can add extra role requirements to https://pagure.io/fedora-infra/ansible/blob/main/f/roles/ansible-server/files/requirements.yml.
Sure. Can I ping you to run the playbook afterward?
Is the packaging a required prerequisite? Or we can somehow temporarily add it to the requirements.yml file as well and do the packaging sometime in the future?
Yeah, just do a PR with the requirements... it's not required to package them, but it's nice to do.
Shall we keep this open? Or close in favor of a PR?
Do you think something like this will work? https://pagure.io/fedora-infra/ansible/pull-request/1502
Commit 07aab73f fixes this issue
Log in to comment on this ticket.