Chapter 29. Installation using Ansible
Table of Contents
Ansible is often used for automating large-scale installations and deployments. This chapter describes the Postgres Pro Ansible collection for PPEM, which simplifies scaling PPEM installations.
This collection automates the installation procedure described in Chapter 28. It is recommended to read that chapter first to understand what the collection does.
The collection includes the following:
The
ppem_reporole that configures the Postgres Pro package repository used during installation.Normally, this role is used by the
ppem_managerandppem_agentroles, but it can also be used as a standalone role, if necessary.The
ppem_managerrole that installs the manager on the specified hosts.It uses the
ppem_reporole to configure the package repository, if it is not configured yet.The
ppem_agentrole that installs the agent on the specified hosts.It uses the
ppem_reporole to configure the package repository, if it is not configured yet.The
ppem_manager.ymlplaybook based on theppem_managerrole.The
ppem_agent.ymlplaybook based on theppem_agentrole.
The installation process includes the following steps:
Ensure that prerequisites are met.