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:
@@ -1,18 +1,18 @@
|
|||||||
staging:
|
staging:
|
||||||
deploy_to: "/var/www/consul"
|
deploy_to: "/home/deploy/consul"
|
||||||
ssh_port: "21"
|
ssh_port: "21"
|
||||||
server: "staging.consul.es"
|
server: "staging.consul.es"
|
||||||
user: "xxxxx"
|
user: "deploy"
|
||||||
|
|
||||||
preproduction:
|
preproduction:
|
||||||
deploy_to: "/var/www/consul"
|
deploy_to: "/home/deploy/consul"
|
||||||
ssh_port: "2222"
|
ssh_port: "2222"
|
||||||
server1: xxx.xxx.xxx.xxx
|
server1: xxx.xxx.xxx.xxx
|
||||||
server2: xxx.xxx.xxx.xxx
|
server2: xxx.xxx.xxx.xxx
|
||||||
user: xxxxx
|
user: "deploy"
|
||||||
|
|
||||||
production:
|
production:
|
||||||
deploy_to: "/var/www/consul"
|
deploy_to: "/home/deploy/consul"
|
||||||
ssh_port: "22"
|
ssh_port: "22"
|
||||||
server1: xxx.xxx.xxx.xxx
|
server1: xxx.xxx.xxx.xxx
|
||||||
server2: xxx.xxx.xxx.xxx
|
server2: xxx.xxx.xxx.xxx
|
||||||
|
|||||||
Reference in New Issue
Block a user