Commit 9185b43f by chenxx

add host_aliase

1 parent 05cc5b85
Showing 1 changed file with 9 additions and 0 deletions
...@@ -50,6 +50,15 @@ module "deployment" { ...@@ -50,6 +50,15 @@ module "deployment" {
} }
] ]
#domian map to /etc/hosts
hosts = [
for host_list in var.hosts:
{
hostname = host_list.hostname,
ip = host_list.ip
}
]
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!