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 166166## v1.5.4
167167
168168- 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 55# the 'nodeN' pattern for additional nodes past 'nomad3'
66# Do not modify the labels (text appearing between []), however
77
8- [cluster_nodes ]
8+ [nomad_cluster_nodes ]
99nomad1.local nomad_node_role=bootstrap ansible_ssh_user=vagrant ansible_ssh_private_key_file=./.vagrant/machines/nomad1/virtualbox/private_key
1010nomad2.local nomad_node_role=server ansible_ssh_user=vagrant ansible_ssh_private_key_file=./.vagrant/machines/nomad2/virtualbox/private_key
1111nomad3.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 77server {
88 enabled = true
99{% 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 %}
1111{% 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 %}
1313{% endfor %} {{ rbracket }}
1414 retry_interval = "15s"
1515{% 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