add clean in remote build process
This commit is contained in:
parent
dc803f8122
commit
39f66b2eab
4
main.tf
4
main.tf
|
@ -38,8 +38,10 @@ resource "null_resource" "alpine_prometheus_node_exporter" {
|
|||
#
|
||||
"echo '# enable service node_exporter'",
|
||||
"rc-update add node_exporter",
|
||||
"/etc/init.d/node_exporter start",
|
||||
"rc-service node_exporter start",
|
||||
#
|
||||
"echo '# clean'",
|
||||
"rm -rf node_exporter-${var.node_exporter_version}.linux-amd64.tar.gz node_exporter-${var.node_exporter_version}.linux-amd64",
|
||||
"echo '# module DONE'",
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue