From 65430099423d699ad11e16c7d2f51e843eb5bdf9 Mon Sep 17 00:00:00 2001 From: taitus Date: Fri, 5 Nov 2021 12:39:47 +0100 Subject: [PATCH] Add consistency between deploy-secrets and installer The installer creates the application in the following path: home_dir: "/home/{{{ deploy_user }}" We update the variable "deploy_to" in the deploy-secrets file to be consistent with the installer. While we are modifying the file we also update the "user" variable in staging and preproduction sections with the installer default value: "deploy_user: deploy" the same as we already have in the production section. --- config/deploy-secrets.yml.example | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/deploy-secrets.yml.example b/config/deploy-secrets.yml.example index c6fab9fe4..26c5a38f6 100644 --- a/config/deploy-secrets.yml.example +++ b/config/deploy-secrets.yml.example @@ -1,18 +1,18 @@ staging: - deploy_to: "/var/www/consul" + deploy_to: "/home/deploy/consul" ssh_port: "21" server: "staging.consul.es" - user: "xxxxx" + user: "deploy" preproduction: - deploy_to: "/var/www/consul" + deploy_to: "/home/deploy/consul" ssh_port: "2222" server1: xxx.xxx.xxx.xxx server2: xxx.xxx.xxx.xxx - user: xxxxx + user: "deploy" production: - deploy_to: "/var/www/consul" + deploy_to: "/home/deploy/consul" ssh_port: "22" server1: xxx.xxx.xxx.xxx server2: xxx.xxx.xxx.xxx