Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
giabao committed Mar 14, 2016
1 parent 48e77ae commit cc51d17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ consul_ui_config_nginx: true
consul_log_level: "INFO"
consul_rejoin_after_leave: true
consul_leave_on_terminate: false
consul_skip_leave_on_interrupt: false
consul_bind_address: "0.0.0.0"
consul_datacenter: "default"
consul_disable_remote_exec: true
Expand Down
3 changes: 2 additions & 1 deletion templates/consul.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@
{% endif %}

"rejoin_after_leave": {{ "true" if consul_rejoin_after_leave else "false" }},
"leave_on_terminate": {{ "true" if consul_leave_on_terminate else "false" }}
"leave_on_terminate": {{ "true" if consul_leave_on_terminate else "false" }},
"skip_leave_on_interrupt": {{ "true" if consul_skip_leave_on_interrupt else "false" }}
}

0 comments on commit cc51d17

Please sign in to comment.