File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 166
166
## v1.5.4
167
167
168
168
- Make nomad user account dynamic and also a system account
169
+
170
+ ## v1.5.5
171
+
172
+ - Fix cluster_nodes references
Original file line number Diff line number Diff line change 5
5
# the 'nodeN' pattern for additional nodes past 'nomad3'
6
6
# Do not modify the labels (text appearing between []), however
7
7
8
- [cluster_nodes ]
8
+ [nomad_cluster_nodes ]
9
9
nomad1.local nomad_node_role=bootstrap ansible_ssh_user=vagrant ansible_ssh_private_key_file=./.vagrant/machines/nomad1/virtualbox/private_key
10
10
nomad2.local nomad_node_role=server ansible_ssh_user=vagrant ansible_ssh_private_key_file=./.vagrant/machines/nomad2/virtualbox/private_key
11
11
nomad3.local nomad_node_role=client ansible_ssh_user=vagrant ansible_ssh_private_key_file=./.vagrant/machines/nomad3/virtualbox/private_key
Original file line number Diff line number Diff line change 7
7
server {
8
8
enabled = true
9
9
{% if nomad_use_consul == False %}
10
- start_join= {{ lbracket }}{% for host in groups ['nomad_cluster_nodes ' ] %}{% if hostvars [inventory_hostname ]['ansible_default_ipv4' ]['address' ] != hostvars [host ]['ansible_default_ipv4' ]['address' ] %} {{ comma() }}{{ quote }}{{ hostvars[host] ['ansible_default_ipv4'] ['address'] }}{{ quote }}{% endif %}
10
+ start_join= {{ lbracket }}{% for host in groups ['cluster_nodes ' ] %}{% if hostvars [inventory_hostname ]['ansible_default_ipv4' ]['address' ] != hostvars [host ]['ansible_default_ipv4' ]['address' ] %} {{ comma() }}{{ quote }}{{ hostvars[host] ['ansible_default_ipv4'] ['address'] }}{{ quote }}{% endif %}
11
11
{% endfor %} {{ rbracket }}
12
- retry_join= {{ lbracket }}{% for host in groups ['nomad_cluster_nodes ' ] %}{% if hostvars [inventory_hostname ]['ansible_default_ipv4' ]['address' ] != hostvars [host ]['ansible_default_ipv4' ]['address' ] %} {{ comma() }}{{ quote }}{{ hostvars[host] ['ansible_default_ipv4'] ['address'] }}{{ quote }}{% endif %}
12
+ retry_join= {{ lbracket }}{% for host in groups ['cluster_nodes ' ] %}{% if hostvars [inventory_hostname ]['ansible_default_ipv4' ]['address' ] != hostvars [host ]['ansible_default_ipv4' ]['address' ] %} {{ comma() }}{{ quote }}{{ hostvars[host] ['ansible_default_ipv4'] ['address'] }}{{ quote }}{% endif %}
13
13
{% endfor %} {{ rbracket }}
14
14
retry_interval = "15s"
15
15
{% endif %}
Original file line number Diff line number Diff line change 1
- v1.5.4
1
+ v1.5.5
You can’t perform that action at this time.
0 commit comments