Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Update high-availability.mdx
Daniel Hougaard7622cac07e4e
diff --git a/docs/self-hosting/deployment-options/native/high-availability.mdx b/docs/self-hosting/deployment-options/native/high-availability.mdxindex 6d1ae5c75a..931acb4df4 100644--- a/docs/self-hosting/deployment-options/native/high-availability.mdx+++ b/docs/self-hosting/deployment-options/native/high-availability.mdx@@ -80,7 +80,7 @@ This is how you would run the playbook containing the roles for setting up Infis### Installing the Infisical High Availability Deployment Ansible RoleThe Infisical Ansible role is available on Ansible Galaxy. You can install the role by running the following command:```bash- ansible-galaxy install infisical.infisical-core-ha-deployment+ ansible-galaxy collection install infisical.infisical_core_ha_deployment```@@ -128,8 +128,10 @@ The ETCD cluster is used to store and distribute data between the PostgreSQL nod- name: Set up etcd clusterhosts: etcdbecome: true+ collections:+ - infisical.infisical_core_ha_deploymentroles:- - role: infisical.infisical-core-ha-deployment.etcd+ - role: etcd``````ini example.inventory.ini@@ -162,8 +164,10 @@ Make sure to set the following variables in your playbook.yml file:- name: Set up PostgreSQL with Patronihosts: postgresbecome: true+ collections:+ - infisical.infisical_core_ha_deploymentroles:- - role: infisical.infisical-core-ha-deployment.postgres+ - role: postgresvars:postgres_super_user_password: "your-super-user-password"postgres_user: infisical-user@@ -194,8 +198,10 @@ The Sentinel and Redis hosts will run the same role, therefore we are running th- name: Setup Redis and Sentinelhosts: redis:sentinelbecome: true+ collections:+ - infisical.infisical_core_ha_deploymentroles:- - role: infisical.infisical-core-ha-deployment.redis+ - role: redisvars:redis_password: "REDIS_PASSWORD"```@@ -239,8 +245,10 @@ internal_lb ansible_host=52.1.0.2- name: Set up HAProxyhosts: haproxybecome: true+ collections:+ - infisical.infisical_core_ha_deploymentroles:- - role: infisical.infisical-core-ha-deployment.haproxy+ - role: haproxyvars:stats_user: "stats-username"stats_password: "stats-password!"@@ -272,8 +280,10 @@ The `DB_CONNECTION_URI` and `REDIS_URL` variables will automatically be set if y- name: Setup Infisicalhosts: infisicalbecome: true+ collections:+ - infisical.infisical_core_ha_deploymentroles:- - role: infisical.infisical-core-ha-deployment.infisical+ - role: infisicalenv_vars:ENCRYPTION_KEY: "YOUR_ENCRYPTION_KEY" # openssl rand -hex 16AUTH_SECRET: "YOUR_AUTH_SECRET" # openssl rand -base64 32@@ -299,8 +309,10 @@ To bring your own database, you need to set the `DB_CONNECTION_URI` and `REDIS_U- name: Setup Infisicalhosts: infisicalbecome: true+ collections:+ - infisical.infisical_core_ha_deploymentroles:- - role: infisical.infisical-core-ha-deployment.infisical+ - role: infisicalenv_vars:ENCRYPTION_KEY: "YOUR_ENCRYPTION_KEY" # openssl rand -hex 16AUTH_SECRET: "YOUR_AUTH_SECRET" # openssl rand -base64 32@@ -334,7 +346,7 @@ To make it easier to get started, we've provided a full deployment example that<Step title="Install the Infisical deployment Ansible Role">Install the Infisical deployment role from Ansible Galaxy.```bash- ansible-galaxy install infisical.infisical-core-ha-deployment+ ansible-galaxy collection install infisical.infisical_core_ha_deployment```</Step><Step title="Setup your hosts">@@ -391,14 +403,18 @@ To make it easier to get started, we've provided a full deployment example that- name: Set up etcd clusterhosts: etcdbecome: true+ collections:+ - infisical.infisical_core_ha_deploymentroles:- - role: infisical.infisical-core-ha-deployment.etcd+ - role: etcd- name: Set up PostgreSQL with Patronihosts: postgresbecome: true+ collections:+ - infisical.infisical_core_ha_deploymentroles:- - role: infisical.infisical-core-ha-deployment.postgres+ - role: postgresvars:postgres_super_user_password: "<ENTER_SUPERUSER_PASSWORD>" # Password for the 'postgres' database user@@ -412,16 +428,20 @@ To make it easier to get started, we've provided a full deployment example that- name: Setup Redis and Sentinelhosts: redis:sentinelbecome: true+ collections:+ - infisical.infisical_core_ha_deploymentroles:- - role: infisical.infisical-core-ha-deployment.redis+ - role: redisvars:redis_password: "<ENTER_REDIS_PASSWORD>"- name: Set up HAProxyhosts: haproxybecome: true+ collections:+ - infisical.infisical_core_ha_deploymentroles:- - role: infisical.infisical-core-ha-deployment.haproxy+ - role: haproxyvars:stats_user: "<ENTER_HAPROXY_STATS_USERNAME>"stats_password: "<ENTER_HAPROXY_STATS_PASSWORD>"@@ -432,8 +452,10 @@ To make it easier to get started, we've provided a full deployment example that- name: Setup Infisicalhosts: infisicalbecome: true+ collections:+ - infisical.infisical_core_ha_deploymentroles:- - role: infisical.infisical-core-ha-deployment.infisical+ - role: infisicalenv_vars:ENCRYPTION_KEY: "YOUR_ENCRYPTION_KEY" # openssl rand -hex 16AUTH_SECRET: "YOUR_AUTH_SECRET" # openssl rand -base64 32