text: ---
  consul_version: 0.6.3
  consul_archive: "consul_{{ consul_version }}_linux_amd64.zip"
  consul_download: "https://releases.hashicorp.com/consul/{{ consul_version }}/{{ consul_archive }}"
  consul_download_username: ""
  consul_download_password: ""
  consul_download_folder: /tmp
  
  consul_is_ui: false
  consul_ui_archive: "consul_{{ consul_version }}_web_ui.zip"
  consul_ui_download: "https://releases.hashicorp.com/consul/{{ consul_version }}/{{ consul_ui_archive }}"
  consul_ui_dir: "{{ consul_home }}/dist"
  consul_ui_server_name: "{{ ansible_fqdn }}"
  consul_ui_require_auth: false
  consul_ui_nginx_template: "consul-nginx.conf.j2"
  consul_ui_auth_user_file: /etc/htpasswd/consul
  consul_ui_server_port: 80
  consul_install_nginx: true
  consul_install_nginx_config: true
  consul_enable_nginx_config: true
  consul_service_state: started
  consul_manage_service: true
  
  consul_install_consul_cli: false
  consul_cli_archive: "master.zip"
  consul_cli_download: "https://github.com/CiscoCloud/consul-cli/archive/{{ consul_cli_archive }}"
  
  consul_home: /opt/consul
  consul_config_dir: /etc/consul.d
  consul_config_file: /etc/consul.conf
  # World readable for backward compatibility; set to 0600 if using consul_encrypt_key
  consul_config_file_mode: 0644
  consul_log_file: /var/log/consul
  consul_data_dir: "{{ consul_home }}/data"
  
  consul_dns_config: false
  consul_dns_allow_stale: false
  consul_dns_max_stale: 5s
  consul_dns_node_ttl: 0s
  consul_dns_service_ttl: 0s
  consul_dns_enable_truncate: false
  consul_dns_only_passing: false
  consul_recursors: []
  
  consul_upstart_template: "consul.conf.j2"
  consul_systemd_template: "consul.systemd.j2"
  consul_initd_template: "consul.initd.sh.j2"
  consul_dnsmasq_upstream_template: "resolv_dnsmasq.conf.j2"
  consul_kv_template: "consulkv.j2"
  consul_add_path_template: "consul.sh.j2"
  consul_config_template: "consul.json.j2"
  
  consul_reload_config_handler: reload consul config
  consul_restart_handler: restart consul
  
  consul_binary: consul
  
  consul_user: consul
  consul_group: consul
  
  consul_use_systemd: false
  consul_use_upstart: true
  consul_use_initd: false
  
  # Upstart start/stop conditions can vary by distribution and environment
  consul_upstart_start_on: start on runlevel [345]
  consul_upstart_stop_on: stop on runlevel [!345]
  
  consul_is_server: false
  
  consul_domain: consul.
  
  consul_servers: ['127.0.0.1']
  consul_log_level: "INFO"
  consul_syslog: false
  consul_rejoin_after_leave: true
  consul_leave_on_terminate: false
  
  consul_join_at_start: false
  consul_retry_join: false
  consul_retry_interval: 30s
  consul_retry_max: 0
  
  consul_servers_wan: []
  consul_join_wan: false
  consul_retry_join_wan: false
  consul_retry_interval_wan: 30s
  consul_retry_max_wan: 0
  consul_advertise_address_wan: false
  
  consul_bind_address: "0.0.0.0"
  consul_dynamic_bind: false
  consul_client_address: "127.0.0.1"
  
  consul_client_address_bind: false
  consul_datacenter: "default"
  consul_disable_remote_exec: true
  
  consul_port_dns: 8600
  consul_port_http: 8500
  consul_port_https: -1
  consul_port_rpc: 8400
  consul_port_serf_lan: 8301
  consul_port_serf_wan: 8302
  consul_port_server: 8300
  consul_install_dnsmasq: false
  consul_install_consulate: false
  consul_dnsmasq:
    listen_interface:
      - lo
      - docker0
      - eth0
    no_dhcp_interface:
      - lo
      - docker0
      - eth0
    upstream_servers:
      - 8.8.8.8
      - 8.8.4.4
  consul_node_name: "{{ inventory_hostname }}"
  # Set to true to enable hostname verification via TLS
  consul_verify_server_hostname: false
  consul_cors_support: false
  # keep undefined for default behavior (will depend on agent/server role starting with consul 0.7)
  # consul_skip_leave_on_interrupt: false
  consul_disable_update_check: false
  
  # Define Consul services to add to /etc/consul.d/*
  consul_services: {}
  consul_services_mode: 0640
  