File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
environments/skeleton/{{cookiecutter.environment}}/terraform Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ resource "local_file" "hosts" {
6
6
" control_instances" : openstack_compute_instance_v2.control
7
7
" login_instances" : openstack_compute_instance_v2.login
8
8
" compute_groups" : module.compute
9
+ " state_dir" : var.state_dir
9
10
},
10
11
)
11
12
filename = " ../inventory/hosts.yml"
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ control:
10
10
ansible_host: ${ [for n in control.network: n.fixed_ip_v4 if n.access_network][0]}
11
11
instance_id: ${ control.id }
12
12
%{ endfor ~}
13
+ vars:
14
+ appliances_state_dir: ${ state_dir} # NB needs to be set on group not host otherwise it is ignored in packer build!
13
15
14
16
login:
15
17
hosts:
You can’t perform that action at this time.
0 commit comments