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.
20 lines
385 B
Plaintext
20 lines
385 B
Plaintext
staging:
|
|
deploy_to: "/home/deploy/consul"
|
|
ssh_port: "21"
|
|
server: "staging.consul.es"
|
|
user: "deploy"
|
|
|
|
preproduction:
|
|
deploy_to: "/home/deploy/consul"
|
|
ssh_port: "2222"
|
|
server1: xxx.xxx.xxx.xxx
|
|
server2: xxx.xxx.xxx.xxx
|
|
user: "deploy"
|
|
|
|
production:
|
|
deploy_to: "/home/deploy/consul"
|
|
ssh_port: "22"
|
|
server1: xxx.xxx.xxx.xxx
|
|
server2: xxx.xxx.xxx.xxx
|
|
user: "deploy"
|