Skip to content

Commit

Permalink
Merge pull request #10 from bruno/add-support-for-disabling-remote-exec
Browse files Browse the repository at this point in the history
Add support for disabling remote exec. Thanks for the pull request.
  • Loading branch information
mattfinlayson committed Oct 28, 2014
2 parents 36e29a3 + 0192e3f commit 917d795
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ consul_datacenter: "default"
consul_ui_require_auth: false
consul_ui_auth_user_file: /etc/htpasswd/consul
consul_enable_nginx_config: true
consul_disable_remote_exec: true
3 changes: 3 additions & 0 deletions templates/consul.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
{% endif %}
{% if consul_join_at_start is defined and consul_join_at_start %}
"start_join": {{ consul_servers|to_nice_json }},
{% endif %}
{% if consul_disable_remote_exec is defined and consul_disable_remote_exec %}
"disable_remote_exec": {{ "true" if consul_disable_remote_exec else "false" }},
{% endif %}
"domain": "{{ consul_domain }}",
"data_dir": "{{ consul_home }}/data",
Expand Down

0 comments on commit 917d795

Please sign in to comment.