Skip to content

galaxy_post_install#

This roles provides post-install configuration for the galaxy-ng plugin.

It runs by default when galaxy-ng is part of pulp_install_plugins variable. It is called by the pulp_common role.

Role Variables#

  • galaxy_importer_settings: Key value dictionnary that contains the content of galaxy-importer.cfg to be overwritten.
  • galaxy_create_default_collection_signing_service Boolean on whether or not to create collection signing service. See Variables for the Signing Service. Defaults to false

Shared Variables#

This role is tightly coupled with the required the pulp_common role and uses some of variables which are documented in that role:

  • pulp_certs_dir: The collection signing service gpg key file is placed under this directory.
  • pulp_scripts_dir: The collection signing service script is placed under this directory.

Variables for the Signing Service#

If galaxy_create_default_collection_signing_service==true:

  1. pulp_settings.galaxy_create_default_collection_signing_service must be set to "ansible-default". This variable sets the name of the default signing service to use. Defaults to "nothing".

  2. 2 files must either be specified by these variables:

  3. galaxy_collection_signing_service_key: Specify a filepath on the ansible management node. This is the gpg private key that will be imported to performan the gpg signing of the collections. Defaults to undefined.

  4. galaxy_collection_signing_service_script Specify a filepath on the ansible management node. This is the script that performs the gpg signing of the collections. Defaults to undefined.

Or they must exist on disk (on all pulp hosts e.g. API, content & worker) (these are the paths that the variables install them to):

  • {{ pulp_certs_dir }}/galaxy_signing_service.gpg (default: /etc/pulp/certs/galaxy_signing_service.gpg):
  • {{ pulp_scripts_dir }}/collection_sign.sh (default: {{ pulp_user_home}}/scripts/collection_sign.sh):

License#

GPLv2+


Last update: 2022-08-10