Browse Source

apt-get update on remote

master
Benedikt Kristinsson 4 years ago
parent
commit
3e8d7bf578
  1. 2
      tf/instances.tf

2
tf/instances.tf

@ -52,6 +52,8 @@ resource "aws_instance" "swarm-node" {
provisioner "remote-exec" {
inline = [
"echo \"hello from remote\"",
"sleep 3",
"sudo apt-get update",
"sudo apt-get install -y python"
]
}

Loading…
Cancel
Save