pacifica.ansible_travis

Pacifica Travis CI

This Ansible role sets up the Pacifica services for deployment using Ansible in Travis CI.

Requirements

Currently, there are no specific requirements for this role. However, if you plan to use PostgreSQL with the Pacifica services, make sure to set up PostgreSQL before using this role in your deployment.

Role Variables

The role variables help install Python on various operating systems. You can change the default packages by creating a default.yml file in your role and setting the setup_packages and python_packages variables. If your playbook is handling Python installation differently, set the external_python variable to any value to skip the Python installation step.

Other role variables provide default settings for different Pacifica services. Each service has unique configuration needs, but they can be set up similarly. For instance, both the ingest and metadata services require databases managed through the same interface, but the ingest service needs a Celery backend, while metadata does not.

Role Defaults

Role defaults help manage user-specific configurations for Pacifica services. Each service configuration should be included in the pacifica_available_services list and referenced in the pacifica_enabled_services list.

Dependencies

There are no current dependencies for this role. However, if a Pacifica service uses a MySQL or PostgreSQL database, you need to ensure that the database service is set up properly in your infrastructure. This also applies to optional services like ElasticSearch.

Example Playbook

Using this role is similar to other Ansible roles. Examples can be found in the molecule subdirectory to deploy specific services on particular systems.

Simple Example:

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

License

LGPLv3

Author Information

Pacifica is a community-driven initiative, and the Ansible team manages support for these services. Key contributors include:

Informazioni sul progetto

Travis Role to deploy Pacifica in Travis

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