pacifica.ansible_pacifica

Pacifica

This Ansible role sets up Pacifica services in an environment managed by Ansible.

Requirements

Currently, there are no specific requirements for using this role. However, if you want to set up a service that uses PostgreSQL, make sure to set up PostgreSQL first before including this role in your deployment.

Supported Platforms

Operating System Tested
Ubuntu 18.04 :heavy_check_mark:
Ubuntu 20.04 :heavy_check_mark:
CentOS 8 :heavy_check_mark:

Role Variables

Role variables are needed to install Python on different distributions. You can change these by providing your own list of packages in a default.yml file in the role that consumes this one. If your playbook installs Python another way, set external_python to any value to skip the Python installation step.

There are also default configurations for the different Pacifica services. Each service has its own configuration needs, but these are similar across services. For example, both the ingest and metadata services require databases, managed by the same method. However, the ingest service needs a Celery backend, while the metadata service does not.

Role Defaults

Role defaults help manage user configurations for the Pacifica services. Each service's configuration is stored in a dictionary named in the pacifica_available_services dictionary. The active service configurations are listed in pacifica_enabled_services.

Dependencies

Currently, there are no hard dependencies for this role. But, if you set up a Pacifica service to use MySQL or PostgreSQL for data storage, you have to ensure that the MySQL or PostgreSQL service is installed and configured in your infrastructure. This also applies to optional services like ElasticSearch or Redis.

Example Playbook

Including this role is straightforward and similar to other Ansible roles. There are examples in the molecule subdirectory that show how to select specific services for different systems.

Simple Example:

    - hosts: servers
      roles:
         - role: pacifica
           pacifica_enabled_services:
             - metadata
             - policy

License

LGPLv3

Author Information

Pacifica is a community-led initiative, and the Ansible team supports these services. Some key members are:

Informazioni sul progetto

Pacifica Ansible Role

Installa
ansible-galaxy install pacifica.ansible_pacifica
Licenza
lgpl-3.0
Download
72.9k
Proprietario
Data asset management for public data repositories.