Put env in subdir for now
This commit is contained in:
parent
36bebff87c
commit
d27fb04e5e
|
@ -39,7 +39,7 @@
|
||||||
[infra.resource.aws_instance.tusd]
|
[infra.resource.aws_instance.tusd]
|
||||||
ami = "${lookup(var.ami, var.region)}"
|
ami = "${lookup(var.ami, var.region)}"
|
||||||
instance_type = "c3.large"
|
instance_type = "c3.large"
|
||||||
key_name = "tusd"
|
key_name = "infra-tusd"
|
||||||
security_groups = ["fw-tusd-main"]
|
security_groups = ["fw-tusd-main"]
|
||||||
[infra.resource.aws_instance.tusd.connection]
|
[infra.resource.aws_instance.tusd.connection]
|
||||||
key_file = "{{{config.global.ssh.privatekey_file}}}"
|
key_file = "{{{config.global.ssh.privatekey_file}}}"
|
||||||
|
@ -168,7 +168,7 @@
|
||||||
ansistrano_group = "ubuntu"
|
ansistrano_group = "ubuntu"
|
||||||
|
|
||||||
[[deploy.playbooks.tasks]]
|
[[deploy.playbooks.tasks]]
|
||||||
copy = "src=../env.sh dest={{{config.global.approot}}}/current/env.sh mode=0600 owner=root group=root"
|
copy = "src=../env.sh dest={{{config.global.approot}}}/current/tusd_linux_amd64/env.sh mode=0600 owner=root group=root"
|
||||||
name = "tusd | Upload environment"
|
name = "tusd | Upload environment"
|
||||||
|
|
||||||
[[deploy.playbooks.tasks]]
|
[[deploy.playbooks.tasks]]
|
||||||
|
|
Loading…
Reference in New Issue