copr-pulp: use pulp_installer collection
This commit is contained in:
parent
17fc31ba63
commit
4c408d55e3
1 changed files with 49 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: install copr packages
|
- name: Install copr packages
|
||||||
dnf:
|
dnf:
|
||||||
state: present
|
state: present
|
||||||
name:
|
name:
|
||||||
|
@ -7,3 +7,51 @@
|
||||||
- copr-selinux
|
- copr-selinux
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
|
- name: FIXME Permissive SELinux to make our life easier
|
||||||
|
ansible.posix.selinux:
|
||||||
|
policy: targeted
|
||||||
|
state: permissive
|
||||||
|
|
||||||
|
- name: Use pulp_installer collection
|
||||||
|
collections:
|
||||||
|
- pulp.pulp_installer
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- pulp_all_services
|
||||||
|
|
||||||
|
environment:
|
||||||
|
DJANGO_SETTINGS_MODULE: pulpcore.app.settings
|
||||||
|
|
||||||
|
vars:
|
||||||
|
pulp_settings:
|
||||||
|
# Production key is `copr_pulp_secret_key`
|
||||||
|
secret_key: "{{ copr_dev_pulp_secret_key }}"
|
||||||
|
content_origin: "https://{{ ansible_fqdn }}"
|
||||||
|
|
||||||
|
# Production key is `copr_pulp_default_admin_password`
|
||||||
|
pulp_default_admin_password: "{{ copr_dev_pulp_default_admin_password }}"
|
||||||
|
|
||||||
|
pulp_workers: 1
|
||||||
|
# pulp_configure_firewall: none
|
||||||
|
|
||||||
|
pulp_install_plugins:
|
||||||
|
# galaxy-ng:
|
||||||
|
# pulp-2to3-migration:
|
||||||
|
# pulp-ansible:
|
||||||
|
# pulp-certguard:
|
||||||
|
# pulp-container:
|
||||||
|
# pulp-cookbook:
|
||||||
|
# pulp-deb:
|
||||||
|
# pulp-file:
|
||||||
|
# pulp-gem:
|
||||||
|
# pulp-maven:
|
||||||
|
# pulp-npm:
|
||||||
|
# pulp-python:
|
||||||
|
pulp-rpm:
|
||||||
|
|
||||||
|
# We have some issue with
|
||||||
|
# ModuleNotFoundError: No module named 'selinux'
|
||||||
|
# and installing `python3-libselinux` or `selinux` inside of
|
||||||
|
# `source /usr/local/lib/pulp/bin/activate` doesn't help
|
||||||
|
pulp_install_selinux_policies: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue