Install a suitable database server for Pulp.
More specifically, this role does the following:
- Install and enable the appropriate SCL (EL7)
- Call the external role to install a PostgreSQL database server.
- Install the Python bindings to interact with the specified database via the role.
- Configures the PostgreSQL database to listen on all addresses if the database is running on separate server.
pulp_settings_db_defaults: This variable should not be changed by users, but serves as the defaults. Users wishing to set their own values should use the user-facing variable
pulp_settings.databases. These settings define how Pulp will talk to the database, and produces default settings for the external database installer role. Default values are defined in
defaults/main.yml. See pulpcore docs or Django docs for more information.
pulp_rhel7_scl_repo: List of possible names for the rhel7 SCL (Software Collections) repo to enable. Once the 1st name is enabled (or found to already be enabled), no further names are attempted. Defaults to ["rhui-rhel-server-rhui-rhscl-7-rpms", "rhel-server-rhscl-7-rpms", "rhel-workstation-rhscl-7-rpms"] Note: This is not needed for CentOS 7, where the repos are enabled by installing
ansible_python_interpreter: Required. Path to the Python interpreter. This role sets the default to "auto", which is now more robust than "auto_legacy" on Ansible 2.8.
This role is not tightly coupled to the
pulp_common role, but uses some of the same
variables. When used in the same play, the values are inherited from the role.
When not used together, this role provides identical defaults.
Operating Systems Variables¶
Each currently supported operating system has a matching file in the "vars" directory.