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.
This commit is contained in:
taitus
2021-11-05 12:39:47 +01:00
parent edbe412837
commit 6543009942

View File

@@ -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