When an Ansible PostgreSQL cluster build pays off
When you need to build, rebuild or grow several PostgreSQL nodes across environments, Autobase with Ansible turns that work into a repeatable playbook run that builds a Patroni-managed cluster from the same inputs each time. The main value is consistency: every primary, standby and supporting component is configured from one inventory and one set of variables, so the staging cluster, the production cluster and a disaster recovery site are less likely to drift apart as people make changes over months. The automation does not replace the database team's judgment about topology, storage or recovery targets, but it makes those decisions visible in version-controlled files that a reviewer can read.
A team usually needs repeatable cluster builds when it runs more than one environment, expects to add nodes or rebuild after a hardware or cloud change, or must show an auditor or internal reviewer how a cluster was configured. Drift is the main risk: a hand-built standby that was tuned once, a pg_hba.conf edit made during an incident and never copied back, or a parameter changed on one node only. A single server with a small, stable configuration and a tested manual runbook may be enough, and adding automation to it can cost more to maintain than it saves. Confirm current behavior, supported operating systems and Ansible versions with the Autobase and Patroni projects before you commit to a design, because those details change between releases.
Before you start, ask three questions: how many clusters you will build or rebuild in the next year, how often configuration changes outside a change process, and whether someone on the team will own the playbooks after the initial build. If the answers point to repeated builds, plan the inventory, the variable files and the review process for manual changes first, and treat the first playbook run as a test of those controls rather than as the finish line.
How the Ansible inventory, Patroni nodes and PostgreSQL fit together
The diagram starts on the control host, where the Ansible inventory and variable files define the cluster and run the playbooks. Those playbooks configure each database host, which runs PostgreSQL under Patroni, and Patroni keeps leader state in a distributed configuration store that all nodes share. Applications reach the database through a PgBouncer pooler rather than connecting to nodes directly. Check that secrets and backup targets sit inside the boundary you intend, and that the control host is the only place with SSH access to the database hosts.
Control host, database hosts, leader store and client path for an Autobase cluster.
What the Autobase playbooks install and what stays manual
The Autobase playbooks automate the software layer of a Patroni cluster: on each database node they install PostgreSQL, Patroni, which decides which node is primary and promotes a standby when the primary fails, and the supporting components the project documents, such as the connection pooling, monitoring and backup tooling it ships with. Patroni is the piece that makes failover automatic, because PostgreSQL itself does not detect a failed primary or notify a standby (see the PostgreSQL failover documentation). Before you run anything, confirm the exact component list and the versions pinned in the Autobase documentation for the release you intend to use, since these change between releases and the playbooks, not this page, are the authority on what gets installed.
The playbooks do not design your environment. The team still owns the network layout, including which subnets the nodes sit on and how client traffic reaches the current primary. It owns storage (disk layout, separation of WAL, filesystem choice and the sizing of volumes), DNS names and any virtual IP or load balancer, firewall rules between nodes, the etcd or consensus layer that Patroni depends on, and the backup target and retention. Each of these needs a decision before the first run, and a wrong choice in storage or networking is expensive to reverse once data is loaded. Write these decisions into your inventory and variable files so that a rebuild reproduces them rather than relying on someone's memory.
Plan for drift from the start. Any change made by hand on a node, such as a tuned postgresql.conf value, a new firewall rule or a replaced certificate, sits outside the playbook until someone records it there. Decide who may change a node directly, how emergency changes are written back into the variables, and how a dry run or check mode will reveal differences before the next upgrade. Ask your implementation partner or the project maintainers which settings the playbooks overwrite on every run, because those are the ones a manual edit will silently lose.
Configuration variables and when each one fits
This table groups the variables a team sets for an Autobase and Ansible build and shows what each group controls, when the default is a reasonable starting point, and what to settle before the first run. Read it as a checklist: every row names the file or documentation section where you confirm the current variable names and default values, because those change between releases.
| Variable group | What it controls | When the default fits, and what to decide first |
|---|---|---|
| Inventory layout and host groups | Which hosts form each cluster, which group each node belongs to, and where etcd, load balancer and PgBouncer hosts sit | Defaults fit a small single-cluster layout. Decide node count, host naming, and whether etcd runs on separate hosts, then confirm group names in the inventory examples of the Autobase project. |
| PostgreSQL version | The major version installed and the packages Ansible pulls from the repository | Fits when you already chose a supported major version. Check the versioning policy for end-of-life dates before the first run, and confirm the variable name in the Autobase role documentation. |
| Authentication and TLS settings | Entries written to pg_hba.conf, password encryption method, and certificate paths for client and replication connections | Default authentication is rarely enough for regulated use. Decide the authentication method (SCRAM is preferred over MD5), certificate issuance, and who can reach the database network, then confirm the keys in the role's defaults file. |
| Replication mode | Whether commits wait for standbys (synchronous) or return before standby confirmation (asynchronous), and how many synchronous standbys are required | Asynchronous fits when some data loss on failover is acceptable. Synchronous fits when it is not, but adds commit latency and can block writes if standbys are unavailable. Confirm the Patroni synchronous settings in the variable reference. |
| Backup and archiving targets | Where WAL archives and base backups go, retention periods, and the backup tool the playbooks call | Decide the target storage, off-site copy, encryption, and the recovery point you need before choosing retention. Confirm backup variables in the backup section of the Autobase documentation and test a restore before relying on them. |
| PgBouncer pooling | Whether PgBouncer runs, pool mode, pool size per database, and which port clients use | Fits when clients open many short connections. Decide pool mode and expected concurrent clients, and confirm the PgBouncer settings against the PgBouncer documentation before the first run. |
| Automation ownership and manual changes | Whether the playbooks manage a setting or leave it alone, including settings changed by hand on a running node | Decide which settings are owned by Ansible and which are tuned by hand. Record that split in version control, because a later playbook run can overwrite manual edits. |
Setup sequence for a first Autobase cluster
This sequence takes a team from bare hosts to a verified Patroni-managed PostgreSQL cluster built by Autobase and Ansible, with each stage closed by a check that confirms the cluster behaves as designed before production data arrives. It also shows where a partner and the internal team each carry work.
Prepare control and database hosts
Confirm the operating system, time synchronization, DNS names, firewall rules and storage layout on every database host, and designate a control host that runs Ansible. The internal platform team usually owns host provisioning, while the partner reviews the layout against the chosen Autobase release and the PostgreSQL major version. Confirm that the hosts can reach each other on the ports used for PostgreSQL, Patroni and the distributed configuration store. Done means each host resolves every peer by name, clocks agree within the tolerance your monitoring sets, and a test connection succeeds between all nodes.
Set up SSH and privilege access
Create a dedicated automation account on each host, install the control host's public key, and grant sudo rights limited to the commands the playbooks need. Store the private key and any vault passwords in your approved secrets system, not in the repository. The security team should review the sudo policy and key ownership before the first run. Done means Ansible can reach every host with a single ad hoc command such as a ping module call, and an audit of the account shows only the privileges you approved.
Write the inventory and variable files
Define host groups for database nodes, the configuration store nodes and any load balancer or connection pooler, then set the PostgreSQL major version, data directory, superuser and replication settings in group variables. Keep secrets in an encrypted vault file. Record each choice in version control so that a reviewer can see why a value was set. Done means the inventory parses cleanly, every variable that the Autobase documentation marks as required has a value, and a peer review has signed off on the file.
Run the check or dry-run mode
Run the playbooks in check mode first, which reports the changes Ansible would make without applying them. Read the output for unexpected package, file or service changes, and resolve any task that fails on a missing prerequisite before continuing. Some tasks cannot be simulated, so note them and verify them by hand in the next step. Done means the dry run completes without unexpected changes and every skipped or unsupported task has a documented manual check.
Deploy to a non-production environment
Run the full deployment against a staging copy of the inventory that mirrors production topology, including node count and network layout. The partner and internal team should work from the same run log so that any fix is captured in code rather than applied by hand on a server. Done means the playbooks finish without errors on a second run, which confirms they are idempotent, and the staging cluster starts with all nodes reporting healthy.
Verify leader election and replication
Query the Patroni REST interface or its command line tool to confirm that exactly one node reports the leader role and that the others report as replicas streaming from it. Check replication lag against the limit your team agreed in advance, and confirm that the synchronous standby setting matches the design. Done means there is a single leader, every replica is streaming, and measured lag stays within the agreed limit under a simple write test.
Test a failover
Stop the leader in a controlled window, or isolate it at the network layer, and observe whether the cluster promotes one replica and the connection endpoint follows. Record the time to a new leader and the number of client errors during the switch. Then bring the old leader back and confirm it rejoins as a replica without a split brain. Done means a single new leader is elected, the old node rejoins as a replica, and no data written before the failure is missing.
Confirm backups and a restore
Verify that the backup tool configured by Autobase has written a base backup and that archived WAL files reach the backup location. Then restore the latest backup to a separate host and replay WAL to a chosen point in time, using the continuous archiving procedure. Run row counts or checksums on key tables against the source. Done means the restore completes, the recovered database matches the expected data at the chosen time, and the restore steps are written down for the operations team.
Where repeatable builds drift from manual changes
An Ansible and Autobase build is only repeatable while the running cluster matches the code that produced it. The risks below share one cause: a change made on a live node that never reaches the playbooks, so the next run either reverts it or silently skips it.
Hand edits to configuration files
Engineers often edit postgresql.conf or pg_hba.conf directly on a node while tuning or unblocking an application. The next playbook run can overwrite that edit, or the node ends up with settings that differ from its peers, which makes failover behave differently from the tested path. Check whether every server-side parameter and access rule is set through role variables, and compare the rendered files on each node against the templates before a release.
Emergency changes during incidents
During an outage, responders change settings, restart services or promote a replica by hand to restore service. Those changes are rarely written back to the repository afterward. Require a short incident log entry for each live change, and schedule a follow-up commit within the same review cycle so the next deployment does not undo the fix.
Out-of-band package updates
Operating system updates or manual installs of PostgreSQL packages can move a node to a different minor release than its peers. Minor releases do not change the storage format, but mixed versions across a Patroni cluster still complicate testing and restarts. Pin package sources in the playbooks, decide who applies security updates, and confirm all nodes report the same server version after each patch window.
Versioning policyChanged storage and network settings
Mount options, volume sizes, network interfaces, DNS names and firewall rules are often changed in the cloud console or the data center without updating inventory. Patroni then points at addresses that no longer match, or replication runs over a path nobody tested. Keep inventory as the source of truth for addresses and mounts, and run the playbooks in check mode after any infrastructure change to surface differences.
Manual failover and node replacement
Promoting a replica or rebuilding a node by hand leaves the cluster state and the inventory out of agreement. A node added outside the playbooks may lack the same agent, certificates or backup jobs as the rest of the cluster. Record every promotion and replacement in the change log, reconcile inventory afterward, and rehearse replacement in a test environment so the documented procedure is the one people actually follow.
Adding nodes, replacing nodes and rebuilding a cluster
Adding a replica to a running Patroni cluster is the lowest-risk change, because the existing leader keeps serving writes while the new node copies data from it. You change the inventory so the new host joins the etcd-backed cluster group, then run the playbook limited to that host so the other nodes are not reconfigured. The new node takes a base backup from the current primary and starts streaming changes until it is caught up.
- Inventory entry: Add the new host to the Postgres cluster group in the inventory and set its address and disk layout to match the existing members.
- Limit the run: Restrict the playbook to the new host so existing nodes keep their current settings and leader.
- Replication lag: Wait until the replica shows near-zero lag in Patroni before treating it as a failover candidate.
- Connection routing: Confirm whether your pooler or load balancer should send read traffic to the new node, a decision that belongs to the application owner.
- Replication slots and limits: Confirm the primary has enough WAL retention and connection headroom for one more standby.
Before the run, check that the cluster is healthy and that backups are current. After the run, confirm the member appears in Patroni, that lag is closing, and that monitoring picks up the new node.
Replacing a failed node means removing a member that is no longer usable and rebuilding its data directory from the healthy cluster. The failed host is often already out of the cluster, but its entry may still exist in etcd or in the inventory, and leaving stale state behind can confuse Patroni. The automation rebuilds the replacement the same way it builds any replica, so the main work is cleaning up the old identity first.
- Confirm the failure: Establish that the node is lost and will not return, because a node that is only partitioned can rejoin on its own.
- Leader decision: If the failed node was the leader, a human must confirm that the new leader is the most current surviving member before anything is changed.
- Remove stale state: Clear the old member's entry in the Patroni configuration store so the replacement does not clash with it.
- Rebuild: Run the playbook against the replacement host, then wait for it to finish the base backup and catch up.
- Hardware and storage: Match the replacement's disks, file system and network settings to the cluster standard.
Before starting, record the current leader, timeline and backup status. After the rebuild, confirm exactly one leader, healthy replicas and that the old host no longer appears in any list.
A full rebuild creates a new cluster from the inventory and does not preserve the running primary. It is the highest-risk path because it can discard data if it is run against the wrong hosts or against a cluster that still holds live data. Teams usually take this route only after restoring data to new hardware, testing a major version change, or recovering from a state that cannot be repaired in place. Restoring from a verified backup is the safer starting point for most cases.
- Data copy first: Take a fresh backup and confirm you can restore it to a separate environment before any rebuild.
- Host targeting: Check the inventory carefully, since the automation will initialize the data directories on the hosts it targets.
- Application cutover: Decide when clients move to the new cluster, and whether writes are frozen while data is copied.
- Catch-up before cutover: Confirm replication from the old cluster is caught up before pointing applications at the new one.
- Rollback path: Keep the old cluster intact until the new one has run through a full business cycle.
Before the run, sign off the target hosts, the backup and the cutover window in writing. After it, check that the new leader accepts writes, that backups run against the new cluster and that the old cluster is retired on a documented date.
How PostgreSQL major upgrades fit into the automation
Minor PostgreSQL releases never change the internal storage format, so an Autobase minor update is a matter of replacing executables and restarting, which playbooks handle well. Major upgrades are different. They rely on one of three documented paths: a dump and restore with pg_dumpall, pg_upgrade, or logical replication. Of these, logical replication is the only one that works between major versions with only several seconds of downtime, according to the upgrade documentation. Before you automate anything, decide which path your cluster can tolerate. Dump and restore fits small databases with a long acceptable outage. pg_upgrade fits clusters where a short, planned stop is acceptable. Logical replication fits clusters where a few seconds of interruption matters but the team can manage publications, subscriptions and replication-slot cleanup.
Do not treat a major upgrade as one more playbook run. Give it its own runbook that sits above the Autobase playbooks and names the order of operations: freezing schema changes, confirming backups and a restorable base backup, upgrading standbys or the new cluster, switching traffic through the PgBouncer or load balancer layer, and deciding when the old cluster is retired. Record who approves the cutover and the rollback point. If you use pg_upgrade, check the release announcement for PostgreSQL 18, which documents that pg_upgrade retains planner statistics, adds parallel jobs and offers a --swap option. Confirm those options against the version you actually run before you put them in a script, because the behavior of each flag matters for rollback.
Rehearse the full path on a copy of the cluster built from the same Ansible variables, including the same extensions, pg_hba.conf rules and PgBouncer configuration. Time each stage, measure the real cutover window, and test the rollback at least once. Check the supported version dates in the PostgreSQL versioning policy before you set the target version, because the end-of-life date for your current major version determines how much time you have. Confirm with your own environment's change calendar whether the planned window fits, and record any drift between the copy and production so the automation is corrected before the real run.
Securing the automation, secrets and access paths
An Ansible and Autobase cluster is only as secure as the path used to build and change it. The cards below cover the control host, the secrets it holds, the PostgreSQL authentication it configures, the Patroni control surfaces, backup encryption and the review process for changes.
Control host and SSH keys
The control host holds the inventory, the SSH keys that reach every database node and usually the sudo rights to install packages and change services. Decide who can log in to it, whether it runs from a hardened jump host, and whether SSH keys are passphrase-protected or held in an agent with a short session. Verify that each key maps to one named identity and that revoking a person removes their access to every node in the inventory.
Authentication methodsWhere passwords and TLS keys live
Ansible variables, vault files and the rendered postgresql.conf and Patroni configuration can all expose superuser, replication and monitoring passwords and TLS private keys. Decide which secret store or encrypted vault holds them, who holds the decryption key, and whether private keys are written to nodes with restrictive file modes owned by the PostgreSQL service user. Check that the playbook output and job logs do not print these values.
SCRAM for password authentication
Set password_encryption to scram-sha-256 and use scram-sha-256 in the pg_hba.conf entries that the automation renders. PostgreSQL 18 deprecated MD5 password authentication in favor of SCRAM, so any role or host rule still using MD5 is a finding to fix before go-live. Verify this on each node after a build, and confirm that the client libraries your applications use support SCRAM.
Patroni API and configuration store
Patroni exposes a REST API that can trigger switchovers and restarts, and it reads cluster state from a distributed configuration store such as etcd. Confirm which networks can reach the API port, whether it uses TLS and authentication, and who can write to the configuration store. Anyone with write access to that store can change cluster behavior, so limit it to the automation identity and the on-call operators.
Encrypted and access-controlled backups
Backups contain full copies of the data, so they need the same protection as the live cluster. Decide where backup repositories sit, whether archived WAL and base backups are encrypted before they leave the database network, and which service accounts can read, delete or restore them. Keep the encryption keys separate from the backup storage, and test a restore with the keys as they are stored in production.
Continuous archiving docsReview and approval of automation changes
Playbooks, role versions and variable files decide how every node is configured, so an unreviewed change can weaken authentication or open a port everywhere at once. Require pull requests with a second reviewer for changes to roles and inventories, pin the Autobase version used for each environment, and run changes first in a non-production inventory. Keep a record of which version ran on which cluster so that drift and audit questions have an answer.
What buyers ask before automating a PostgreSQL cluster
What does it cost to automate a PostgreSQL cluster with Ansible and Autobase?
The cost is set by the written scope, not by a list price, and it splits into one-time work and recurring work. One-time work covers reviewing your hosts and network, setting variables, building the first cluster, configuring backups and testing failover and restore. Recurring work covers patching, minor and major upgrades, and changes to the automation. The main drivers are the number of nodes, whether you need separate environments for staging and production, how many integrations (monitoring, connection pooling, identity) are included, the backup target you use, and how much of your current hand-built configuration must be captured. Ask any quote to list each of these as a separate line, to state which tests count as acceptance, and to say which parts are fixed and which are time-and-materials. DeployOpen does not publish prices, so a written scope is the starting point for a quote.
How long does a first Patroni cluster build take?
No duration figure is supplied for this topic, so treat any number you hear as unverified until it is tied to a scope. The duration is driven mainly by how ready your environment is: hosts that are provisioned, reachable and consistently configured shorten the build, while unclear network rules, missing DNS entries, storage that needs redesign, or approval cycles lengthen it. Other factors are the number of nodes, whether you run a load balancer and connection pooler in front of the cluster, how many failover and restore tests you require, and whether the first build runs in one environment or several. Ask for a schedule with named milestones: environment check, first build in staging, failover test, restore test, production cutover and handover. Each milestone should have an owner on both sides.
What does our team need to provide before the build starts?
Your team provides the infrastructure and the decisions, and the partner or internal team builds on top of them. The usual inputs are:
- Hosts or virtual machines for each database node and any witness or etcd nodes, with operating system access for the automation account
- Network paths between nodes, the load balancer and clients, plus DNS names and firewall change requests
- Storage that meets the write and durability needs you have planned, and a separate backup target with enough capacity and retention for your recovery goals
- Approved names for the cluster, roles, and the administrative accounts that will hold secrets
- Written approval for the change windows, the production cutover and the restore test
Agree in writing who owns each input and the date it is due. Most delays start with an input that arrives late, not with the automation itself.
Can our internal team run an Autobase cluster without a partner?
Yes, a team with Linux, PostgreSQL and Ansible skills can run Autobase clusters, but the team has to own the knowledge that a partner would otherwise transfer. Before you decide, check whether you have people who can read and change the Ansible inventory and variables, diagnose a Patroni failover, interpret PostgreSQL logs and replication lag, and perform a point-in-time restore from your backups. Check also whether they can review upstream Autobase changes before applying them. If any of these skills are missing, ask for a handover plan as part of the scope, with runbooks, a walkthrough of a failover and restore, and a clear list of what remains with your team. Confirm the current Autobase and Patroni documentation and supported versions with the projects before you finalize a plan.
How is the automation maintained after go-live?
The automation stays useful only if someone owns its state, so decide that before go-live. The main recurring tasks are applying PostgreSQL minor releases, which the PostgreSQL project publishes at least once every three months and which do not change the storage format, planning major upgrades before a version leaves support, reviewing upstream changes to the playbooks, and keeping the inventory in step with the hosts you actually run. Set a rule that every manual change on a node, such as a tuned parameter, a new pg_hba.conf entry or a hotfix, is either reflected in the variables and redeployed or removed within a fixed window. Ask the quote to state whether ongoing support is a retainer, what response you can expect, and whether restore tests are repeated on a schedule.
What changes when someone edits a node by hand?
A manual change is kept until the next automation run overwrites it, or it drifts away from the variables and nobody notices. Patroni and PostgreSQL settings can be changed at runtime, so a parameter altered with ALTER SYSTEM or a direct edit to a configuration file can conflict with what the playbook sets. The practical fix is a written change path: any change goes into the variables or the playbook first, is tested in staging, and is applied through the automation. Run a drift check after each change window to compare live settings with the declared ones. For emergency fixes during an incident, record the change, then backport it into the code before the next run. Ask any partner to describe how they detect drift and how they handle a change made during an incident.
What evidence should we ask for before accepting the cluster?
Ask for evidence that the cluster does what you need under failure, not only that the playbooks completed. The minimum set is a documented failover test that records how long clients were disconnected and whether any writes were lost under the synchronous settings you chose, a restore test from your backup target to a separate host using the point-in-time recovery method you configured, and a record of the variables and versions used for the build. PostgreSQL does not detect a primary failure by itself, so the failover evidence should show the external tooling working. Ask for the results in writing, with the exact commands and dates, and for the restore to be done by someone other than the person who built the backups.
Limits to confirm in your environment
Autobase and Ansible make a cluster repeatable, but the release you pick, the platform it runs on and the components it depends on set hard limits. Confirm each item below against the project's own documentation and your environment before you build, because changing any of them later means rebuilding or re-testing the cluster.
Autobase and Ansible version compatibility
Check which Autobase release supports which PostgreSQL major version, and which Ansible core version that release expects. A playbook written for one PostgreSQL major may not run cleanly against another, so pin all three versions together in your repository. Confirm the matrix in the Autobase release notes for the exact release you plan to use, and rerun the full build in a staging environment after any version change.
Supported operating systems and architectures
Confirm which Linux distributions, major release numbers and CPU architectures the Autobase roles are tested against. A role that works on one distribution may install different packages, service units or paths on another. Ask whether the project publishes a tested matrix, and check that your base images, kernel versions and package mirrors match it. Anything outside that matrix is your team's responsibility to test.
Distributed configuration store and its availability
Patroni needs a distributed configuration store to hold cluster leadership, so an etcd, Consul or ZooKeeper deployment is part of the design. Confirm which store the playbooks install or expect, how many nodes it runs on, and whether it sits on separate hosts from the database nodes. If the store loses quorum, the database cluster can stop accepting a leader change, so its availability design matters as much as the PostgreSQL nodes.
Storage and filesystem layout handling
Find out whether the playbooks create and mount data, WAL and backup volumes, which filesystems they expect, and which mount options and block device settings they apply. Some roles assume default paths that may conflict with your storage standards or your storage team's naming. Read the variables that set data directories and check whether the playbook formats disks. A wrong default here can put WAL on the wrong volume or erase data on a rebuild.
Upgrade path support in the chosen release
Confirm that the Autobase release you choose supports the PostgreSQL major upgrade you need, and whether it uses an in-place method or a logical replication approach. Major upgrades must be planned against the PostgreSQL support windows, and a playbook may not cover every source and target pair. Ask the project which upgrade paths are tested, and compare them with the methods described in the PostgreSQL upgrade documentation.
PostgreSQL upgrade docsLicensing of bundled components
The playbooks install several components, including PostgreSQL, Patroni, the configuration store, PgBouncer and monitoring agents, each under its own license. PostgreSQL itself uses the PostgreSQL License, which is permissive, but the other components may carry different terms. Review the license of every package the automation pulls in, and confirm with your legal or compliance team that each one fits your distribution and redistribution policy before you mirror them into a closed network.
PostgreSQL licenceHow DeployOpen scopes and delivers an automated PostgreSQL cluster
DeployOpen plans, builds, tests and documents Patroni-based PostgreSQL clusters automated with Ansible and Autobase, inside the cloud accounts, data centers or air-gapped networks you control. Each engagement starts from a written scope, so your team knows what is built, what is tested and what is handed over before work begins.
How we scope
- We confirm your PostgreSQL major version, node count, failure domains and whether automatic failover is required before any build starts.
- The written scope lists which Autobase roles, inventory groups and configuration variables are in use, and which are set by your team.
- We agree the backup, restore test and connection pooling requirements in writing, along with the upgrade approach for later major versions.
How we build
- We build the Ansible inventory and variable files in your version control so that every cluster change is reviewed and repeatable.
- We run the playbooks against staging nodes first, then record the results of failover, switchover and restore tests against the written scope.
- We set up pooling and backup tooling with the configuration you approved and test a point-in-time recovery into a separate environment.
How we hand over
- You receive the playbooks, inventory, variable documentation and an operations runbook that describes how to add nodes and run upgrades.
- We document where manual changes must be written back into automation, so drift between the cluster and the code is caught early.
- Handover includes a walkthrough with your database, platform and security teams on the test evidence and open decisions.
How we support
- Engagements are fixed-scope, and post-handover support, upgrades and recurring testing are available as a retainer.
- A retainer can cover Autobase version updates, PostgreSQL minor releases and re-running failover and restore tests after changes.
- Confirm with us what response expectations, service levels and access arrangements apply before signing, since these are set in the written agreement.

